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:
Paul Cornett 2008-03-13 04:37:03 +00:00
parent 6e7f563b52
commit 81a2edf9a9

View File

@ -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)
{