diff options
| author | Carl Hetherington <cth@carlh.net> | 2022-11-02 00:18:56 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2022-11-02 01:17:53 +0100 |
| commit | b39dbb7cf1b0352cf0eb3af4bf4929556355bff5 (patch) | |
| tree | e679b163406b863dbbc04c4635393973b33929ec /src/wx/job_view.h | |
| parent | 9c6d757fc6ff188521719cad9bf2cd494bb4edd8 (diff) | |
Cleanup: use new CheckBox::bind().
Diffstat (limited to 'src/wx/job_view.h')
| -rw-r--r-- | src/wx/job_view.h | 21 |
1 files changed, 13 insertions, 8 deletions
diff --git a/src/wx/job_view.h b/src/wx/job_view.h index e6084b381..74518c9ba 100644 --- a/src/wx/job_view.h +++ b/src/wx/job_view.h @@ -18,22 +18,26 @@ */ + #ifndef DCPOMATIC_JOB_VIEW_H #define DCPOMATIC_JOB_VIEW_H + #include <boost/signals2.hpp> + +class CheckBox; class Job; -class wxScrolledWindow; -class wxWindow; -class wxFlexGridSizer; -class wxCommandEvent; class wxBoxSizer; -class wxGauge; -class wxStaticText; class wxButton; +class wxCommandEvent; +class wxFlexGridSizer; +class wxGauge; +class wxScrolledWindow; class wxSizer; -class wxCheckBox; +class wxStaticText; +class wxWindow; + class JobView { @@ -81,7 +85,7 @@ private: wxStaticText* _message; wxButton* _cancel; wxButton* _details; - wxCheckBox* _notify; + CheckBox* _notify; /** sizer for all right-hand-size controls */ wxBoxSizer* _controls; std::string _last_message; @@ -90,4 +94,5 @@ private: boost::signals2::scoped_connection _finished_connection; }; + #endif |
