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:
@@ -204,6 +204,11 @@ bool wxApp::DoIdle()
|
|||||||
g_source_remove(m_idleSourceId);
|
g_source_remove(m_idleSourceId);
|
||||||
m_idleSourceId = 0;
|
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 more idle processing requested
|
||||||
if (needMore)
|
if (needMore)
|
||||||
{
|
{
|
||||||
|
Reference in New Issue
Block a user