summaryrefslogtreecommitdiff
path: root/src/wx/templates_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/templates_dialog.cc
parent9c1bb2e5ca7c80c4e26b1b2e41159aa171360a94 (diff)
Support buttons.
Diffstat (limited to 'src/wx/templates_dialog.cc')
-rw-r--r--src/wx/templates_dialog.cc5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/wx/templates_dialog.cc b/src/wx/templates_dialog.cc
index 9b264f264..4ddd3ad92 100644
--- a/src/wx/templates_dialog.cc
+++ b/src/wx/templates_dialog.cc
@@ -21,6 +21,7 @@
#include "templates_dialog.h"
#include "wx_util.h"
#include "rename_template_dialog.h"
+#include "dcpomatic_button.h"
#include "lib/config.h"
#include <wx/wx.h>
#include <boost/foreach.hpp>
@@ -47,9 +48,9 @@ TemplatesDialog::TemplatesDialog (wxWindow* parent)
{
wxSizer* s = new wxBoxSizer (wxVERTICAL);
- _rename = new wxButton (this, wxID_ANY, _("Rename..."));
+ _rename = new Button (this, _("Rename..."));
s->Add (_rename, 0, wxTOP | wxBOTTOM, 2);
- _remove = new wxButton (this, wxID_ANY, _("Remove"));
+ _remove = new Button (this, _("Remove"));
s->Add (_remove, 0, wxTOP | wxBOTTOM, 2);
hs->Add (s, 0, wxLEFT, DCPOMATIC_SIZER_X_GAP);
}