summaryrefslogtreecommitdiff
path: root/src/wx/password_entry.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2022-11-02 00:18:56 +0100
committerCarl Hetherington <cth@carlh.net>2022-11-02 01:17:53 +0100
commitb39dbb7cf1b0352cf0eb3af4bf4929556355bff5 (patch)
treee679b163406b863dbbc04c4635393973b33929ec /src/wx/password_entry.cc
parent9c6d757fc6ff188521719cad9bf2cd494bb4edd8 (diff)
Cleanup: use new CheckBox::bind().
Diffstat (limited to 'src/wx/password_entry.cc')
-rw-r--r--src/wx/password_entry.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/password_entry.cc b/src/wx/password_entry.cc
index f44ed9cb0..e148169bf 100644
--- a/src/wx/password_entry.cc
+++ b/src/wx/password_entry.cc
@@ -35,7 +35,7 @@ PasswordEntry::PasswordEntry (wxWindow* parent)
sizer->Add (_show, 0, wxALIGN_CENTER_VERTICAL, DCPOMATIC_SIZER_GAP);
_panel->SetSizerAndFit (sizer);
- _show->Bind (wxEVT_CHECKBOX, bind(&PasswordEntry::show_clicked, this));
+ _show->bind(&PasswordEntry::show_clicked, this);
_text->Bind (wxEVT_TEXT, bind(boost::ref(Changed)));
}