diff options
| -rw-r--r-- | src/wx/password_entry.cc | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/src/wx/password_entry.cc b/src/wx/password_entry.cc index e148169bf..a6378fdd0 100644 --- a/src/wx/password_entry.cc +++ b/src/wx/password_entry.cc @@ -18,12 +18,14 @@ */ -#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) { @@ -36,7 +38,7 @@ 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 * @@ -57,7 +59,7 @@ PasswordEntry::show_clicked () 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 (); |
