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/editable_list.h | |
| parent | 9c1bb2e5ca7c80c4e26b1b2e41159aa171360a94 (diff) | |
Support buttons.
Diffstat (limited to 'src/wx/editable_list.h')
| -rw-r--r-- | src/wx/editable_list.h | 7 |
1 files changed, 4 insertions, 3 deletions
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 <wx/wx.h> #include <wx/listctrl.h> #include <boost/function.hpp> @@ -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); } |
