summaryrefslogtreecommitdiff
path: root/src/wx/subtitle_appearance_dialog.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/subtitle_appearance_dialog.cc
parent9c1bb2e5ca7c80c4e26b1b2e41159aa171360a94 (diff)
Support buttons.
Diffstat (limited to 'src/wx/subtitle_appearance_dialog.cc')
-rw-r--r--src/wx/subtitle_appearance_dialog.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wx/subtitle_appearance_dialog.cc b/src/wx/subtitle_appearance_dialog.cc
index dd8353cf4..69a7d743d 100644
--- a/src/wx/subtitle_appearance_dialog.cc
+++ b/src/wx/subtitle_appearance_dialog.cc
@@ -22,6 +22,7 @@
#include "rgba_colour_picker.h"
#include "static_text.h"
#include "check_box.h"
+#include "dcpomatic_button.h"
#include "lib/string_text_file_content.h"
#include "lib/text_content.h"
#include "lib/ffmpeg_subtitle_stream.h"
@@ -112,7 +113,7 @@ SubtitleAppearanceDialog::SubtitleAppearanceDialog (wxWindow* parent, shared_ptr
overall_sizer->Add (colours_panel, 1, wxEXPAND | wxALL, DCPOMATIC_DIALOG_BORDER);
- wxButton* restore = new wxButton (this, wxID_ANY, _("Restore to original colours"));
+ wxButton* restore = new Button (this, _("Restore to original colours"));
restore->Bind (wxEVT_BUTTON, bind (&SubtitleAppearanceDialog::restore, this));
overall_sizer->Add (restore, 0, wxALL, DCPOMATIC_SIZER_X_GAP);
}