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