X-Git-Url: https://git.carlh.net/gitweb/?p=dcpomatic.git;a=blobdiff_plain;f=src%2Fwx%2Ftiming_panel.cc;h=d47c81a15b1358781dc1c590c94c61947f76f833;hp=ebdd99487bff709b9f58e2999e1c40ecfa143068;hb=8b2a3f31b6b4238d8534549f495e7276174ddfba;hpb=9c1bb2e5ca7c80c4e26b1b2e41159aa171360a94 diff --git a/src/wx/timing_panel.cc b/src/wx/timing_panel.cc index ebdd99487..d47c81a15 100644 --- a/src/wx/timing_panel.cc +++ b/src/wx/timing_panel.cc @@ -25,6 +25,7 @@ #include "content_panel.h" #include "move_to_dialog.h" #include "static_text.h" +#include "dcpomatic_button.h" #include "lib/content.h" #include "lib/image_content.h" #include "lib/text_content.h" @@ -82,21 +83,21 @@ TimingPanel::TimingPanel (ContentPanel* p, weak_ptr viewer) _position_label = create_label (this, _("Position"), true); _position = new Timecode (this); - _move_to_start_of_reel = new wxButton (this, wxID_ANY, _("Move to start of reel")); + _move_to_start_of_reel = new Button (this, _("Move to start of reel")); _full_length_label = create_label (this, _("Full length"), true); _full_length = new Timecode (this); _trim_start_label = create_label (this, _("Trim from start"), true); _trim_start = new Timecode (this); - _trim_start_to_playhead = new wxButton (this, wxID_ANY, _("Trim up to current position")); + _trim_start_to_playhead = new Button (this, _("Trim up to current position")); _trim_end_label = create_label (this, _("Trim from end"), true); _trim_end = new Timecode (this); - _trim_end_to_playhead = new wxButton (this, wxID_ANY, _("Trim after current position")); + _trim_end_to_playhead = new Button (this, _("Trim after current position")); _play_length_label = create_label (this, _("Play length"), true); _play_length = new Timecode (this); _video_frame_rate_label = create_label (this, _("Video frame rate"), true); _video_frame_rate = new wxTextCtrl (this, wxID_ANY); - _set_video_frame_rate = new wxButton (this, wxID_ANY, _("Set")); + _set_video_frame_rate = new Button (this, _("Set")); _set_video_frame_rate->Enable (false); /* We can't use Wrap() here as it doesn't work with markup: