summaryrefslogtreecommitdiff
path: root/src/wx/controls.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/controls.cc
parent9c6d757fc6ff188521719cad9bf2cd494bb4edd8 (diff)
Cleanup: use new CheckBox::bind().
Diffstat (limited to 'src/wx/controls.cc')
-rw-r--r--src/wx/controls.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/controls.cc b/src/wx/controls.cc
index 61c671788..f16b494c9 100644
--- a/src/wx/controls.cc
+++ b/src/wx/controls.cc
@@ -137,7 +137,7 @@ Controls::Controls(wxWindow* parent, FilmViewer& viewer, bool editor_controls)
_eye->Bind (wxEVT_CHOICE, boost::bind (&Controls::eye_changed, this));
}
if (_outline_content) {
- _outline_content->Bind (wxEVT_CHECKBOX, boost::bind (&Controls::outline_content_changed, this));
+ _outline_content->bind(&Controls::outline_content_changed, this);
}
_slider->Bind (wxEVT_SCROLL_THUMBTRACK, boost::bind(&Controls::slider_moved, this, false));
@@ -150,7 +150,7 @@ Controls::Controls(wxWindow* parent, FilmViewer& viewer, bool editor_controls)
_frame_number->Bind (wxEVT_LEFT_DOWN, boost::bind(&Controls::frame_number_clicked, this));
_timecode->Bind (wxEVT_LEFT_DOWN, boost::bind(&Controls::timecode_clicked, this));
if (_jump_to_selected) {
- _jump_to_selected->Bind (wxEVT_CHECKBOX, boost::bind (&Controls::jump_to_selected_clicked, this));
+ _jump_to_selected->bind(&Controls::jump_to_selected_clicked, this);
_jump_to_selected->SetValue (Config::instance()->jump_to_selected ());
}