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/fonts_dialog.cc | |
| parent | 9c1bb2e5ca7c80c4e26b1b2e41159aa171360a94 (diff) | |
Support buttons.
Diffstat (limited to 'src/wx/fonts_dialog.cc')
| -rw-r--r-- | src/wx/fonts_dialog.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wx/fonts_dialog.cc b/src/wx/fonts_dialog.cc index 3619b7e0a..0660eea39 100644 --- a/src/wx/fonts_dialog.cc +++ b/src/wx/fonts_dialog.cc @@ -22,6 +22,7 @@ #include "wx_util.h" #include "system_font_dialog.h" #include "font_files_dialog.h" +#include "dcpomatic_button.h" #include "lib/font.h" #include "lib/content.h" #include "lib/text_content.h" @@ -76,7 +77,7 @@ FontsDialog::FontsDialog (wxWindow* parent, shared_ptr<Content> content, shared_ wxBoxSizer* sizer = new wxBoxSizer (wxHORIZONTAL); sizer->Add (_fonts, 1, wxEXPAND | wxLEFT | wxRIGHT, DCPOMATIC_SIZER_X_GAP); - _edit = new wxButton (this, wxID_ANY, _("Edit...")); + _edit = new Button (this, _("Edit...")); sizer->Add (_edit, 0, wxTOP | wxBOTTOM, DCPOMATIC_BUTTON_STACK_GAP); wxBoxSizer* overall_sizer = new wxBoxSizer (wxVERTICAL); |
