]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/timer.cpp
don't use built-in support for menu bitmaps if they are too big, they don't come...
[wxWidgets.git] / src / gtk / timer.cpp
index 628ede1a184036807f7cbd8b4351ab92b56e0cdd..228e3e1f6ea96cbf58e9e7a6e9ac587241e3db94 100644 (file)
@@ -13,6 +13,7 @@
 #if wxUSE_TIMER
 
 #include "wx/gtk/private/timer.h"
+#include "wx/app.h"
 
 #include <gtk/gtk.h>
 
@@ -40,6 +41,10 @@ static gboolean timeout_callback(gpointer data)
     // Release lock again.
     gdk_threads_leave();
 
+    wxApp* app = wxTheApp;
+    if (app)
+        app->WakeUpIdle();
+
     return keepGoing;
 }