diff options
| author | Carl Hetherington <cth@carlh.net> | 2018-12-08 01:11:35 +0000 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2018-12-08 01:11:35 +0000 |
| commit | 8b2a3f31b6b4238d8534549f495e7276174ddfba (patch) | |
| tree | b8c55a3ff05f488044d98871da46a0e4f52f306d /src/wx/timing_panel.cc | |
| parent | 9c1bb2e5ca7c80c4e26b1b2e41159aa171360a94 (diff) | |
Support buttons.
Diffstat (limited to 'src/wx/timing_panel.cc')
| -rw-r--r-- | src/wx/timing_panel.cc | 9 |
1 files changed, 5 insertions, 4 deletions
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<FilmViewer> viewer) _position_label = create_label (this, _("Position"), true); _position = new Timecode<DCPTime> (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<DCPTime> (this); _trim_start_label = create_label (this, _("Trim from start"), true); _trim_start = new Timecode<ContentTime> (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<ContentTime> (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<DCPTime> (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: |
