diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-11-02 00:18:56 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-11-02 01:17:53 +0100 |
| commit | b39dbb7cf1b0352cf0eb3af4bf4929556355bff5 (patch) | |
| tree | e679b163406b863dbbc04c4635393973b33929ec /src/wx/confirm_kdm_email_dialog.cc | |
| parent | 9c6d757fc6ff188521719cad9bf2cd494bb4edd8 (diff) | |
Cleanup: use new CheckBox::bind().
Diffstat (limited to 'src/wx/confirm_kdm_email_dialog.cc')
| -rw-r--r-- | src/wx/confirm_kdm_email_dialog.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/confirm_kdm_email_dialog.cc b/src/wx/confirm_kdm_email_dialog.cc index 7709442c9..665086557 100644 --- a/src/wx/confirm_kdm_email_dialog.cc +++ b/src/wx/confirm_kdm_email_dialog.cc @@ -40,10 +40,10 @@ ConfirmKDMEmailDialog::ConfirmKDMEmailDialog (wxWindow* parent, list<string> ema _sizer->Add (new StaticText (this, message), 1, wxEXPAND | wxALL, DCPOMATIC_DIALOG_BORDER); - wxCheckBox* shut_up = new CheckBox (this, _("Don't ask this again")); + auto shut_up = new CheckBox (this, _("Don't ask this again")); _sizer->Add (shut_up, 0, wxALL, DCPOMATIC_DIALOG_BORDER); - shut_up->Bind (wxEVT_CHECKBOX, bind (&ConfirmKDMEmailDialog::shut_up, this, _1)); + shut_up->bind(&ConfirmKDMEmailDialog::shut_up, this, _1); layout (); } |
