applied patch 103591 which should fix wxWakeUpIdle()

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2001-02-06 00:04:24 +00:00
parent 24e2b35da2
commit c9e3527262
2 changed files with 6 additions and 6 deletions

View File

@@ -182,9 +182,6 @@ gint wxapp_idle_callback( gpointer WXUNUSED(data) )
// thread so we must lock it here ourselves
gdk_threads_enter();
// Sent idle event to all who request them
while (wxTheApp->ProcessIdle()) { }
/* Indicate that we are now in idle mode - even so deeply
in idle mode that we don't get any idle events anymore.
this is like wxMSW where an idle event is sent only
@@ -193,6 +190,9 @@ gint wxapp_idle_callback( gpointer WXUNUSED(data) )
g_isIdle = TRUE;
wxTheApp->m_idleTag = 0;
// Sent idle event to all who request them
while (wxTheApp->ProcessIdle()) { }
// Release lock again
gdk_threads_leave();

View File

@@ -182,9 +182,6 @@ gint wxapp_idle_callback( gpointer WXUNUSED(data) )
// thread so we must lock it here ourselves
gdk_threads_enter();
// Sent idle event to all who request them
while (wxTheApp->ProcessIdle()) { }
/* Indicate that we are now in idle mode - even so deeply
in idle mode that we don't get any idle events anymore.
this is like wxMSW where an idle event is sent only
@@ -193,6 +190,9 @@ gint wxapp_idle_callback( gpointer WXUNUSED(data) )
g_isIdle = TRUE;
wxTheApp->m_idleTag = 0;
// Sent idle event to all who request them
while (wxTheApp->ProcessIdle()) { }
// Release lock again
gdk_threads_leave();