merged 2.2 branch
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@7748 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -96,7 +96,7 @@ bool wxYield()
|
||||
if (has_idle)
|
||||
{
|
||||
/* re-add idle handler (very low priority) */
|
||||
wxTheApp->m_idleTag = gtk_idle_add_priority( 500, wxapp_idle_callback, (gpointer) NULL );
|
||||
wxTheApp->m_idleTag = gtk_idle_add_priority( 1000, wxapp_idle_callback, (gpointer) NULL );
|
||||
}
|
||||
|
||||
// disable log flushing from here because a call to wxYield() shouldn't
|
||||
@@ -179,7 +179,7 @@ void wxapp_install_idle_handler()
|
||||
to the main thread (and processing these in
|
||||
idle time). Very low priority. */
|
||||
|
||||
wxTheApp->m_idleTag = gtk_idle_add_priority( 500, wxapp_idle_callback, (gpointer) NULL );
|
||||
wxTheApp->m_idleTag = gtk_idle_add_priority( 1000, wxapp_idle_callback, (gpointer) NULL );
|
||||
|
||||
g_isIdle = FALSE;
|
||||
}
|
||||
@@ -250,7 +250,7 @@ wxApp::wxApp()
|
||||
m_topWindow = (wxWindow *) NULL;
|
||||
m_exitOnFrameDelete = TRUE;
|
||||
|
||||
m_idleTag = gtk_idle_add_priority( 500, wxapp_idle_callback, (gpointer) NULL );
|
||||
m_idleTag = gtk_idle_add_priority( 1000, wxapp_idle_callback, (gpointer) NULL );
|
||||
|
||||
#if wxUSE_THREADS
|
||||
m_wakeUpTimerTag = 0;
|
||||
@@ -415,7 +415,7 @@ bool wxApp::SendIdleEvents( wxWindow* win )
|
||||
wxIdleEvent event;
|
||||
event.SetEventObject(win);
|
||||
|
||||
win->ProcessEvent(event);
|
||||
win->GetEventHandler()->ProcessEvent(event);
|
||||
|
||||
win->OnInternalIdle();
|
||||
|
||||
|
Reference in New Issue
Block a user