]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/evtloop.cpp
Fixed premature exit of helpview sample and utility
[wxWidgets.git] / src / gtk / evtloop.cpp
index 11406deb0b8ed6a1bd53c9d057b2bc861bc11803..2b2bfa91c4f4c7c6a051e6e4f09f524e0d8ca4c0 100644 (file)
@@ -103,7 +103,7 @@ bool wxEventLoop::Pending() const
     {
         // We need to remove idle callbacks or gtk_events_pending will
         // never return false.
-        wxTheApp->RemoveIdleSource();
+        wxTheApp->SuspendIdleCallback();
     }
 
     return gtk_events_pending();