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/job_view.cc | |
| parent | 9c1bb2e5ca7c80c4e26b1b2e41159aa171360a94 (diff) | |
Support buttons.
Diffstat (limited to 'src/wx/job_view.cc')
| -rw-r--r-- | src/wx/job_view.cc | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/wx/job_view.cc b/src/wx/job_view.cc index 28b171b82..174c9967d 100644 --- a/src/wx/job_view.cc +++ b/src/wx/job_view.cc @@ -23,6 +23,7 @@ #include "message_dialog.h" #include "static_text.h" #include "check_box.h" +#include "dcpomatic_button.h" #include "lib/job.h" #include "lib/job_manager.h" #include "lib/compose.hpp" @@ -65,11 +66,11 @@ JobView::setup () _buttons = new wxBoxSizer (wxHORIZONTAL); - _cancel = new wxButton (_container, wxID_ANY, _("Cancel")); + _cancel = new Button (_container, _("Cancel")); _cancel->Bind (wxEVT_BUTTON, &JobView::cancel_clicked, this); _buttons->Add (_cancel, 1, wxALIGN_CENTER_VERTICAL); - _details = new wxButton (_container, wxID_ANY, _("Details...")); + _details = new Button (_container, _("Details...")); _details->Bind (wxEVT_BUTTON, &JobView::details_clicked, this); _details->Enable (false); _buttons->Add (_details, 1, wxALIGN_CENTER_VERTICAL); |
