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/job_view.cc | |
| parent | 9c6d757fc6ff188521719cad9bf2cd494bb4edd8 (diff) | |
Cleanup: use new CheckBox::bind().
Diffstat (limited to 'src/wx/job_view.cc')
| -rw-r--r-- | src/wx/job_view.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/wx/job_view.cc b/src/wx/job_view.cc index 5a6484f0a..8dbe87652 100644 --- a/src/wx/job_view.cc +++ b/src/wx/job_view.cc @@ -87,7 +87,7 @@ JobView::setup () _controls = new wxBoxSizer (wxVERTICAL); _controls->Add (_buttons); _notify = new CheckBox (_container, _("Notify when complete")); - _notify->Bind (wxEVT_CHECKBOX, bind (&JobView::notify_clicked, this)); + _notify->bind(&JobView::notify_clicked, this); _notify->SetValue (Config::instance()->default_notify()); _controls->Add (_notify, 0, wxTOP, DCPOMATIC_BUTTON_STACK_GAP); |
