From 6c78f6d31a457ad34fb14b7c926fb418b4d6790d Mon Sep 17 00:00:00 2001 From: Carl Hetherington Date: Thu, 23 May 2019 00:57:36 +0100 Subject: [PATCH] Possibly improve closing of splash window. --- src/tools/dcpomatic.cc | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) 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 () -- 2.30.2