Possibly improve closing of splash window.
authorCarl Hetherington <cth@carlh.net>
Wed, 22 May 2019 23:57:36 +0000 (00:57 +0100)
committerCarl Hetherington <cth@carlh.net>
Wed, 22 May 2019 23:57:36 +0000 (00:57 +0100)
src/tools/dcpomatic.cc

index ee51d0717b52204f2671f8b3583a8944b7082e9f..1e93977d7cee5993c0378b40eb48edf2f775d790 100644 (file)
@@ -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 ()