git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52465
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
g_source_remove(m_idleSourceId);
m_idleSourceId = 0;
}
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)
{
// if more idle processing requested
if (needMore)
{