projects
/
dcpomatic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
629359a
)
Try to make splash screen disappear sooner by Skip()ing the idle event.
author
Carl Hetherington
<cth@carlh.net>
Wed, 22 May 2019 22:41:35 +0000
(22:41 +0000)
committer
Carl Hetherington
<cth@carlh.net>
Wed, 22 May 2019 22:41:35 +0000
(22:41 +0000)
src/tools/dcpomatic.cc
patch
|
blob
|
history
diff --git
a/src/tools/dcpomatic.cc
b/src/tools/dcpomatic.cc
index 3fb291fc427d3d0647e9f9b13fd940cd604b6d9d..048d5fedd15394befa2fe851f3f9a309685756e1 100644
(file)
--- a/
src/tools/dcpomatic.cc
+++ b/
src/tools/dcpomatic.cc
@@
-1546,7
+1546,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));
@@
-1635,9
+1635,10
@@
private:
report_exception ();
}
- void idle ()
+ void idle (
wxIdleEvent& ev
)
{
signal_manager->ui_idle ();
+ ev.Skip ();
}
void check ()