X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Fwx%2Ftimecode.cc;h=699687a956f05e77497edaf12629248730968974;hp=454614a1b16bf7473a03ded8aebd5b9608ac340f;hb=ad5c8849fc3ef5aad88201f28db5474a60db4436;hpb=f113b2aaca7a65f7b37e12a7d9f3f99e2d834e81 diff --git a/src/wx/timecode.cc b/src/wx/timecode.cc index 454614a1b..699687a95 100644 --- a/src/wx/timecode.cc +++ b/src/wx/timecode.cc @@ -70,12 +70,12 @@ TimecodeBase::TimecodeBase (wxWindow* parent, bool set_button) _fixed = add_label_to_sizer (_sizer, this, wxT ("42"), false); - _hours->Bind (wxEVT_COMMAND_TEXT_UPDATED, boost::bind (&TimecodeBase::changed, this)); - _minutes->Bind (wxEVT_COMMAND_TEXT_UPDATED, boost::bind (&TimecodeBase::changed, this)); - _seconds->Bind (wxEVT_COMMAND_TEXT_UPDATED, boost::bind (&TimecodeBase::changed, this)); - _frames->Bind (wxEVT_COMMAND_TEXT_UPDATED, boost::bind (&TimecodeBase::changed, this)); + _hours->Bind (wxEVT_TEXT, boost::bind (&TimecodeBase::changed, this)); + _minutes->Bind (wxEVT_TEXT, boost::bind (&TimecodeBase::changed, this)); + _seconds->Bind (wxEVT_TEXT, boost::bind (&TimecodeBase::changed, this)); + _frames->Bind (wxEVT_TEXT, boost::bind (&TimecodeBase::changed, this)); if (_set_button) { - _set_button->Bind (wxEVT_COMMAND_BUTTON_CLICKED, boost::bind (&TimecodeBase::set_clicked, this)); + _set_button->Bind (wxEVT_BUTTON, boost::bind (&TimecodeBase::set_clicked, this)); _set_button->Enable (false); }