Disambiguate some more bind calls().
authorCarl Hetherington <cth@carlh.net>
Sun, 29 Sep 2024 20:38:11 +0000 (22:38 +0200)
committerCarl Hetherington <cth@carlh.net>
Sun, 29 Sep 2024 21:36:28 +0000 (23:36 +0200)
src/wx/password_entry.cc

index e148169bf85596a71ef92be91d19ffa37315a84f..a6378fdd00c06f96f22056bec52073931bf2aef5 100644 (file)
 
 */
 
-#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 ();