]> git.saurik.com Git - wxWidgets.git/commitdiff
GTK2: gtk_widget_draw -> gtk_widget_queue_draw + gdk_window_process_updates. Do we...
authorMart Raudsepp <leio@gentoo.org>
Fri, 3 Feb 2006 23:14:34 +0000 (23:14 +0000)
committerMart Raudsepp <leio@gentoo.org>
Fri, 3 Feb 2006 23:14:34 +0000 (23:14 +0000)
redraw here?

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37290 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/frame.cpp

index a2b97cc2e20488d85d7e0f540a9c8194fb24e03d..ab11b08c03045c158ef76d544b3d703945d3875f 100644 (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