X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c2ca375c5620209d77a88d2d378bdcdedbc82e7e..b85b06e13d22e7fc1604ec1a49caa1227a1b3d36:/src/gtk/timer.cpp diff --git a/src/gtk/timer.cpp b/src/gtk/timer.cpp index 628ede1a18..228e3e1f6e 100644 --- a/src/gtk/timer.cpp +++ b/src/gtk/timer.cpp @@ -13,6 +13,7 @@ #if wxUSE_TIMER #include "wx/gtk/private/timer.h" +#include "wx/app.h" #include @@ -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; }