]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/evtloop.cpp
applied part of patch 1169925: fix errors with multibyte <-> wx conversions
[wxWidgets.git] / src / gtk / evtloop.cpp
index 429de81069e6bd914732d7ca953110be39acd528..ac59d77edbda27c8c045cd377c0116a98b5cbf63 100644 (file)
@@ -101,16 +101,13 @@ void wxEventLoop::Exit(int rc)
 // wxEventLoop message processing dispatching
 // ----------------------------------------------------------------------------
 
-extern bool g_isIdle;
-
 bool wxEventLoop::Pending() const
 {
-    if (wxTheApp && !g_isIdle)
+    if (wxTheApp)
     {
         // We need to remove idle callbacks or gtk_events_pending will
         // never return false.
         wxTheApp->RemoveIdleTag();
-        g_isIdle = TRUE;
     }
 
     return gtk_events_pending();