diff --git a/src/gtk/timer.cpp b/src/gtk/timer.cpp index eb7a15fbb5..3b132f0a3b 100644 --- a/src/gtk/timer.cpp +++ b/src/gtk/timer.cpp @@ -13,8 +13,9 @@ #if wxUSE_TIMER #include "wx/timer.h" +#include "wx/app.h" -#include "gtk/gtk.h" +#include // ---------------------------------------------------------------------------- // wxTimer @@ -45,6 +46,10 @@ static gint timeout_callback( gpointer data ) // Release lock again. gdk_threads_leave(); + wxApp* app = wxTheApp; + if (app) + app->WakeUpIdle(); + if (timer->IsOneShot()) return FALSE;