diff options
| author | Carl Hetherington <cth@carlh.net> | 2016-10-03 23:36:31 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2016-10-03 23:36:31 +0100 |
| commit | 36492186c9a968e861ac4fea9ea056b81ae40f9a (patch) | |
| tree | 0b2b50b25683ff59b55ea4e4984acbd4135759a6 /src | |
| parent | 268d0c2c16507e5210f5fd20bc76e5b258ea3511 (diff) | |
Fix crash on starting a job.
Diffstat (limited to 'src')
| -rw-r--r-- | src/wx/normal_job_view.cc | 2 | ||||
| -rw-r--r-- | src/wx/normal_job_view.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/wx/normal_job_view.cc b/src/wx/normal_job_view.cc index d02ad1fd2..2ae6a0140 100644 --- a/src/wx/normal_job_view.cc +++ b/src/wx/normal_job_view.cc @@ -32,7 +32,7 @@ NormalJobView::NormalJobView (shared_ptr<Job> job, wxWindow* parent, wxWindow* c } void -NormalJobView::add_buttons (wxWindow* parent, wxSizer* sizer) +NormalJobView::finish_setup (wxWindow* parent, wxSizer* sizer) { _pause = new wxButton (parent, wxID_ANY, _("Pause")); _pause->Bind (wxEVT_COMMAND_BUTTON_CLICKED, boost::bind (&NormalJobView::pause_clicked, this)); diff --git a/src/wx/normal_job_view.h b/src/wx/normal_job_view.h index 0339e5954..b9d6327a0 100644 --- a/src/wx/normal_job_view.h +++ b/src/wx/normal_job_view.h @@ -31,7 +31,7 @@ public: private: int insert_position () const; - void add_buttons (wxWindow* parent, wxSizer* sizer); + void finish_setup (wxWindow* parent, wxSizer* sizer); void pause_clicked (); void finished (); |
