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
This commit is contained in:
Paul Cornett
2008-12-07 18:23:28 +00:00
parent 140a119ad2
commit b63dc1c140

View 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;
}