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/batch_job_view.cc | |
| parent | 9c1bb2e5ca7c80c4e26b1b2e41159aa171360a94 (diff) | |
Support buttons.
Diffstat (limited to 'src/wx/batch_job_view.cc')
| -rw-r--r-- | src/wx/batch_job_view.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/wx/batch_job_view.cc b/src/wx/batch_job_view.cc index 853dac8f4..038e8b228 100644 --- a/src/wx/batch_job_view.cc +++ b/src/wx/batch_job_view.cc @@ -19,6 +19,7 @@ */ #include "batch_job_view.h" +#include "dcpomatic_button.h" #include "lib/job_manager.h" #include <wx/sizer.h> #include <wx/button.h> @@ -41,10 +42,10 @@ BatchJobView::insert_position () const void BatchJobView::finish_setup (wxWindow* parent, wxSizer* sizer) { - _higher_priority = new wxButton (parent, wxID_ANY, _("Higher priority")); + _higher_priority = new Button (parent, _("Higher priority")); _higher_priority->Bind (wxEVT_BUTTON, boost::bind (&BatchJobView::higher_priority_clicked, this)); sizer->Add (_higher_priority, 1, wxALIGN_CENTER_VERTICAL); - _lower_priority = new wxButton (parent, wxID_ANY, _("Lower priority")); + _lower_priority = new Button (parent, _("Lower priority")); _lower_priority->Bind (wxEVT_BUTTON, boost::bind (&BatchJobView::lower_priority_clicked, this)); sizer->Add (_lower_priority, 1, wxALIGN_CENTER_VERTICAL); } |
