diff options
| author | Carl Hetherington <cth@carlh.net> | 2019-11-22 21:04:14 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2020-01-08 21:56:47 +0100 |
| commit | 98b1d9ae3188a7419182b747caa16739bf649039 (patch) | |
| tree | b751ce113088e0fe123a8d3a6579a856e2762da7 | |
| parent | b33437685e43427459e7ea752f3cd3d621878573 (diff) | |
Fix event handling (hopefully).
| -rw-r--r-- | src/wx/controls.cc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/src/wx/controls.cc b/src/wx/controls.cc index 71af4e8cf..0c12ba463 100644 --- a/src/wx/controls.cc +++ b/src/wx/controls.cc @@ -120,14 +120,7 @@ Controls::Controls (wxWindow* parent, shared_ptr<FilmViewer> viewer, bool editor _slider->Bind (wxEVT_SCROLL_THUMBTRACK, boost::bind(&Controls::slider_moved, this, false)); _slider->Bind (wxEVT_SCROLL_PAGEUP, boost::bind(&Controls::slider_moved, this, true)); _slider->Bind (wxEVT_SCROLL_PAGEDOWN, boost::bind(&Controls::slider_moved, this, true)); - _slider->Bind (wxEVT_SCROLL_CHANGED, boost::bind(&Controls::slider_released, this)); -#ifdef DCPOMATIC_OSX - /* _CHANGED is not received on OS X (at least, not when the - slider is dragged), so use this instead. Perhaps all - platforms could just use _THUMBRELEASE. - */ _slider->Bind (wxEVT_SCROLL_THUMBRELEASE, boost::bind(&Controls::slider_released, this)); -#endif _rewind_button->Bind (wxEVT_LEFT_DOWN, boost::bind(&Controls::rewind_clicked, this, _1)); _back_button->Bind (wxEVT_LEFT_DOWN, boost::bind(&Controls::back_clicked, this, _1)); _forward_button->Bind (wxEVT_LEFT_DOWN, boost::bind(&Controls::forward_clicked, this, _1)); |
