Some make corrections for HP and related,
Changed refresh order so that window-less widgets don't get overdrawn anymore, Prevent GTK from filtering our supposedly unneeded expose events, Block all expose calls if a resize is requested and do a full redraw then, thus removing flicker and behaving like wxMSW, Moved some doubled expose and draw code from GtkPizza to the respective callbacks in window.cpp, Set idle priority to a higher value (which should indicate a lower priority if I interpret glib.h correctly) but the desired side-effect didn't really show up. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6533 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -95,8 +95,8 @@ bool wxYield()
|
||||
|
||||
if (has_idle)
|
||||
{
|
||||
/* re-add idle handler */
|
||||
wxTheApp->m_idleTag = gtk_idle_add( wxapp_idle_callback, (gpointer) NULL );
|
||||
/* re-add idle handler (very low priority) */
|
||||
wxTheApp->m_idleTag = gtk_idle_add_priority( 500, wxapp_idle_callback, (gpointer) NULL );
|
||||
}
|
||||
|
||||
// disable log flushing from here because a call to wxYield() shouldn't
|
||||
@@ -177,9 +177,9 @@ void wxapp_install_idle_handler()
|
||||
indicating that the idle is over. It may also
|
||||
get called from other thread for sending events
|
||||
to the main thread (and processing these in
|
||||
idle time). */
|
||||
idle time). Very low priority. */
|
||||
|
||||
wxTheApp->m_idleTag = gtk_idle_add( wxapp_idle_callback, (gpointer) NULL );
|
||||
wxTheApp->m_idleTag = gtk_idle_add_priority( 500, wxapp_idle_callback, (gpointer) NULL );
|
||||
|
||||
g_isIdle = FALSE;
|
||||
}
|
||||
|
Reference in New Issue
Block a user