]> git.saurik.com Git - wxWidgets.git/commitdiff
fix for idle processing stopping without processing all pending events, replaces...
authorPaul Cornett <paulcor@bullseye.com>
Thu, 13 Mar 2008 04:37:03 +0000 (04:37 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Thu, 13 Mar 2008 04:37:03 +0000 (04:37 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@52465 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/app.cpp

index 8a762a4c4de1359ecb193868ff8e3b8e52a70c4d..c4315c64e6c3c74f2b3b548e29abb8ec6d5a5cb6 100644 (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)
     {