*/
-#include "password_entry.h"
+
#include "check_box.h"
+#include "password_entry.h"
#include "wx_util.h"
+
using std::string;
-using boost::bind;
+
PasswordEntry::PasswordEntry (wxWindow* parent)
{
_panel->SetSizerAndFit (sizer);
_show->bind(&PasswordEntry::show_clicked, this);
- _text->Bind (wxEVT_TEXT, bind(boost::ref(Changed)));
+ _text->Bind(wxEVT_TEXT, boost::bind(boost::ref(Changed)));
}
wxPanel *
delete _text;
_text = new wxTextCtrl (_panel, wxID_ANY, pass, wxDefaultPosition, wxDefaultSize, _show->GetValue() ? 0 : wxTE_PASSWORD);
_text->SetSelection (from, to);
- _text->Bind (wxEVT_TEXT, bind(boost::ref(Changed)));
+ _text->Bind(wxEVT_TEXT, boost::bind(boost::ref(Changed)));
sizer->Prepend (_text, 1, wxRIGHT, DCPOMATIC_SIZER_GAP);
sizer->Layout ();
_panel->Thaw ();