From: Carl Hetherington Date: Wed, 22 May 2019 23:57:36 +0000 (+0100) Subject: Possibly improve closing of splash window. X-Git-Tag: v2.15.6~32 X-Git-Url: https://main.carlh.net/gitweb/?p=dcpomatic.git;a=commitdiff_plain;h=6c78f6d31a457ad34fb14b7c926fb418b4d6790d Possibly improve closing of splash window. --- diff --git a/src/tools/dcpomatic.cc b/src/tools/dcpomatic.cc index ee51d0717..1e93977d7 100644 --- a/src/tools/dcpomatic.cc +++ b/src/tools/dcpomatic.cc @@ -1562,7 +1562,7 @@ private: } signal_manager = new wxSignalManager (this); - Bind (wxEVT_IDLE, boost::bind (&App::idle, this)); + Bind (wxEVT_IDLE, boost::bind (&App::idle, this, _1)); Bind (wxEVT_TIMER, boost::bind (&App::check, this)); _timer.reset (new wxTimer (this)); @@ -1652,9 +1652,10 @@ private: report_exception (); } - void idle () + void idle (wxIdleEvent& ev) { signal_manager->ui_idle (); + ev.Skip (); } void check ()