]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/app.cpp
More for wxPython 2.0b9 (hopefully the last...)
[wxWidgets.git] / src / gtk / app.cpp
index 315d37194cde1ba9dc52d82dfe9b992ccbff8276..d70f078447afd483af0ffbeac21343333eb2b032 100644 (file)
@@ -193,9 +193,10 @@ gint wxapp_idle_callback( gpointer WXUNUSED(data) )
        emptied */
     g_isIdle = TRUE;
     
-/*  wxMutexGuiLeave();
-    wxUsleep(10);
-    wxMutexGuiEnter(); */
+    /* wake up other threads */
+    wxMutexGuiLeave();
+    wxUsleep(0);
+    wxMutexGuiEnter();
 
     return TRUE;
 }