From: Paul Cornett Date: Sun, 7 Dec 2008 18:23:28 +0000 (+0000) Subject: make sure timer events will trigger idle processing, #10251 X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b63dc1c140a05a1169386d883387130556ac84c2 make sure timer events will trigger idle processing, #10251 git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@57170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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; }