]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/app.cpp
With the exceptions of DnD, wxGTk now works with
[wxWidgets.git] / src / gtk / app.cpp
index 81123a87cab86e762b00709498ff68dca66951ed..67a48aab5c001966d47b0c9ad67827d3204298c9 100644 (file)
@@ -287,9 +287,11 @@ void wxApp::OnIdle( wxIdleEvent &event )
 
     inOnIdle = TRUE;
 
+#if wxUSE_THREADS
     /* Resend in the main thread events which have been prepared in other
        threads */
     ProcessPendingEvents();
+#endif
 
     /* 'Garbage' collection of windows deleted with Close(). */
     DeletePendingObjects();