GTK2: gtk_widget_draw -> gtk_widget_queue_draw + gdk_window_process_updates. Do we really want to force an immediate

redraw here?


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mart Raudsepp 2006-02-03 23:14:34 +00:00
parent 1ab9e06d6a
commit 34c1f23146

View File

@ -490,7 +490,9 @@ void wxFrame::GtkOnSize( int WXUNUSED(x), int WXUNUSED(y),
gtk_pizza_set_size( GTK_PIZZA(m_wxwindow),
m_frameStatusBar->m_widget,
xx, yy, ww, hh );
gtk_widget_draw( m_frameStatusBar->m_widget, (GdkRectangle*) NULL );
gtk_widget_queue_draw (m_frameStatusBar->m_widget);
// FIXME: Do we really want to force an immediate redraw?
gdk_window_process_updates (m_frameStatusBar->m_widget->window, TRUE);
}
#endif // wxUSE_STATUSBAR