X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Fpassword_entry.cc;h=e148169bf85596a71ef92be91d19ffa37315a84f;hb=c7044a1b444c2e5e7659bf5d34ed5ac73f5a6271;hp=f44ed9cb07c5f5d631efbf1abe16b9af9fa41c10;hpb=c4e20995d4638c2d7575dcf12a917e27387078de;p=dcpomatic.git 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))); }