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/normal_job_view.cc | |
| parent | 9c1bb2e5ca7c80c4e26b1b2e41159aa171360a94 (diff) | |
Support buttons.
Diffstat (limited to 'src/wx/normal_job_view.cc')
| -rw-r--r-- | src/wx/normal_job_view.cc | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/wx/normal_job_view.cc b/src/wx/normal_job_view.cc index 22b3e1cc7..ada0596c8 100644 --- a/src/wx/normal_job_view.cc +++ b/src/wx/normal_job_view.cc @@ -19,6 +19,7 @@ */ #include "normal_job_view.h" +#include "dcpomatic_button.h" #include "lib/job.h" #include <wx/wx.h> @@ -34,7 +35,7 @@ NormalJobView::NormalJobView (shared_ptr<Job> job, wxWindow* parent, wxWindow* c void NormalJobView::finish_setup (wxWindow* parent, wxSizer* sizer) { - _pause = new wxButton (parent, wxID_ANY, _("Pause")); + _pause = new Button (parent, _("Pause")); _pause->Bind (wxEVT_BUTTON, boost::bind (&NormalJobView::pause_clicked, this)); sizer->Add (_pause, 1, wxALIGN_CENTER_VERTICAL); } |
