summaryrefslogtreecommitdiff
path: root/src/wx/video_panel.cc
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2018-12-08 01:11:35 +0000
committerCarl Hetherington <cth@carlh.net>2018-12-08 01:11:35 +0000
commit8b2a3f31b6b4238d8534549f495e7276174ddfba (patch)
treeb8c55a3ff05f488044d98871da46a0e4f52f306d /src/wx/video_panel.cc
parent9c1bb2e5ca7c80c4e26b1b2e41159aa171360a94 (diff)
Support buttons.
Diffstat (limited to 'src/wx/video_panel.cc')
-rw-r--r--src/wx/video_panel.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/wx/video_panel.cc b/src/wx/video_panel.cc
index aaafe34c1..605d4ff68 100644
--- a/src/wx/video_panel.cc
+++ b/src/wx/video_panel.cc
@@ -26,6 +26,7 @@
#include "content_panel.h"
#include "static_text.h"
#include "check_box.h"
+#include "dcpomatic_button.h"
#include "lib/filter.h"
#include "lib/ffmpeg_content.h"
#include "lib/colour_conversion.h"
@@ -160,7 +161,7 @@ VideoPanel::VideoPanel (ContentPanel* p)
_filters_label = create_label (this, _("Filters"), true);
_filters = new StaticText (this, _("None"), wxDefaultPosition, size);
- _filters_button = new wxButton (this, wxID_ANY, _("Edit..."));
+ _filters_button = new Button (this, _("Edit..."));
_colour_conversion_label = create_label (this, _("Colour conversion"), true);
_colour_conversion = new wxChoice (this, wxID_ANY, wxDefaultPosition, size);
@@ -171,7 +172,7 @@ VideoPanel::VideoPanel (ContentPanel* p)
/// TRANSLATORS: translate the word "Custom" here; do not include the "Colour|" prefix
_colour_conversion->Append (S_("Colour|Custom"));
- _edit_colour_conversion_button = new wxButton (this, wxID_ANY, _("Edit..."));
+ _edit_colour_conversion_button = new Button (this, _("Edit..."));
_description = new StaticText (this, wxT ("\n \n \n \n \n"), wxDefaultPosition, wxDefaultSize);
_description->SetFont(font);