diff options
| author | Carl Hetherington <cth@carlh.net> | 2013-07-26 11:14:41 +0100 |
|---|---|---|
| committer | Carl Hetherington <cth@carlh.net> | 2013-07-26 11:14:41 +0100 |
| commit | 16a7ea91e973b327735658857cbf996cc740be77 (patch) | |
| tree | ab67c21cb8cb85274b079268ef7c8d2160e3cae2 /src/tools/dcpomatic.cc | |
| parent | 750ad2a59ff2b3487859b6c290d06c0129cb6aa0 (diff) | |
Remove old Connect() wxWidgets API and use Bind().
Diffstat (limited to 'src/tools/dcpomatic.cc')
| -rw-r--r-- | src/tools/dcpomatic.cc | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tools/dcpomatic.cc b/src/tools/dcpomatic.cc index 623df3dc6..44f707351 100644 --- a/src/tools/dcpomatic.cc +++ b/src/tools/dcpomatic.cc @@ -502,7 +502,7 @@ class App : public wxApp f->Show (); ui_signaller = new wxUISignaller (this); - this->Connect (-1, wxEVT_IDLE, wxIdleEventHandler (App::idle)); + this->Bind (wxEVT_IDLE, boost::bind (&App::idle, this)); return true; } @@ -536,7 +536,7 @@ class App : public wxApp return true; } - void idle (wxIdleEvent &) + void idle () { ui_signaller->ui_idle (); } |
