summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorCarl Hetherington <cth@carlh.net>2019-05-23 00:57:36 +0100
committerCarl Hetherington <cth@carlh.net>2019-05-23 00:57:36 +0100
commit6c78f6d31a457ad34fb14b7c926fb418b4d6790d (patch)
treea85d2e7e65796587ae67f07539d98196e299d5ad /src
parentd70ba328ded260bd1421619a73e8783d4a6671fd (diff)
Possibly improve closing of splash window.
Diffstat (limited to 'src')
-rw-r--r--src/tools/dcpomatic.cc5
1 files 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 ()