fix for idle processing stopping without processing all pending events, replaces patch 1912157
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
6e7f563b52
commit
81a2edf9a9
@ -204,6 +204,11 @@ bool wxApp::DoIdle()
|
||||
g_source_remove(m_idleSourceId);
|
||||
m_idleSourceId = 0;
|
||||
}
|
||||
|
||||
// Pending events can be added asynchronously,
|
||||
// need to keep idle source if any have appeared
|
||||
needMore = needMore || HasPendingEvents();
|
||||
|
||||
// if more idle processing requested
|
||||
if (needMore)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user