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/nag_dialog.cc | |
| parent | 9c6d757fc6ff188521719cad9bf2cd494bb4edd8 (diff) | |
Cleanup: use new CheckBox::bind().
Diffstat (limited to 'src/wx/nag_dialog.cc')
| -rw-r--r-- | src/wx/nag_dialog.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/nag_dialog.cc b/src/wx/nag_dialog.cc index 21d1c823e..04c3ce8e9 100644 --- a/src/wx/nag_dialog.cc +++ b/src/wx/nag_dialog.cc @@ -44,7 +44,7 @@ NagDialog::NagDialog (wxWindow* parent, Config::Nag nag, wxString message, bool auto b = new CheckBox (this, _("Don't show this message again")); sizer->Add (b, 0, wxALL, 6); - b->Bind (wxEVT_CHECKBOX, bind (&NagDialog::shut_up, this, _1)); + b->bind(&NagDialog::shut_up, this, _1); int flags = wxOK; if (can_cancel) { |
