X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Fwx%2Ftimeline_dialog.cc;h=36ca0ff7b7213c5d4c6ef47931a3ffb4b6df40d9;hp=e050c27d97acb1b88915c647d6fd9595facee1a1;hb=ad5c8849fc3ef5aad88201f28db5474a60db4436;hpb=f113b2aaca7a65f7b37e12a7d9f3f99e2d834e81 diff --git a/src/wx/timeline_dialog.cc b/src/wx/timeline_dialog.cc index e050c27d9..36ca0ff7b 100644 --- a/src/wx/timeline_dialog.cc +++ b/src/wx/timeline_dialog.cc @@ -73,9 +73,9 @@ TimelineDialog::TimelineDialog (ContentPanel* cp, shared_ptr film) sizer->SetSizeHints (this); _snap->SetValue (_timeline.snap ()); - _snap->Bind (wxEVT_COMMAND_CHECKBOX_CLICKED, boost::bind (&TimelineDialog::snap_toggled, this)); + _snap->Bind (wxEVT_CHECKBOX, boost::bind (&TimelineDialog::snap_toggled, this)); film_changed (Film::SEQUENCE); - _sequence->Bind (wxEVT_COMMAND_CHECKBOX_CLICKED, boost::bind (&TimelineDialog::sequence_toggled, this)); + _sequence->Bind (wxEVT_CHECKBOX, boost::bind (&TimelineDialog::sequence_toggled, this)); _film_changed_connection = film->Changed.connect (bind (&TimelineDialog::film_changed, this, _1)); }