Merge branch 'v2.15.x' of ssh://main.carlh.net/home/carl/git/dcpomatic into v2.15.x
[dcpomatic.git] / src / wx / templates_dialog.cc
index 9b264f264f1842af3d260a06c270ed460fec4feb..4ddd3ad929ac7cc7ada410a0bb03b023d0882ccf 100644 (file)
@@ -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);
        }