X-Git-Url: https://git.carlh.net/gitweb/?a=blobdiff_plain;f=src%2Fwx%2Feditable_list.h;h=a7c1a610295da46c6fdad210b7afb58881d4600d;hb=183b5597f73b85c0d6d29db8f6ed519386d07aa9;hp=eb06f4cf8869a835273f2c44ac8b2a04941db5ba;hpb=2eab969654eca2ef4b222790c8b730a6eb709565;p=dcpomatic.git diff --git a/src/wx/editable_list.h b/src/wx/editable_list.h index eb06f4cf8..a7c1a6102 100644 --- a/src/wx/editable_list.h +++ b/src/wx/editable_list.h @@ -22,6 +22,7 @@ #define DCPOMATIC_EDITABLE_LIST_H #include "wx_util.h" +#include "dcpomatic_button.h" #include #include #include @@ -72,13 +73,13 @@ public: { wxSizer* s = new wxBoxSizer (wxVERTICAL); - _add = new wxButton (this, wxID_ANY, _("Add...")); + _add = new Button (this, _("Add...")); s->Add (_add, 0, wxTOP | wxBOTTOM, 2); if (can_edit) { - _edit = new wxButton (this, wxID_ANY, _("Edit...")); + _edit = new Button (this, _("Edit...")); s->Add (_edit, 0, wxTOP | wxBOTTOM, 2); } - _remove = new wxButton (this, wxID_ANY, _("Remove")); + _remove = new Button (this, _("Remove")); s->Add (_remove, 0, wxTOP | wxBOTTOM, 2); _sizer->Add (s, 0, wxLEFT, DCPOMATIC_SIZER_X_GAP); }