X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c2ca375c5620209d77a88d2d378bdcdedbc82e7e..74a3342702bf3a76a845f65f4510fd8612d3d802:/src/gtk/timer.cpp?ds=sidebyside 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; }