]> git.saurik.com Git - wxWidgets.git/commitdiff
Per Robert R, apply: [ 1484667 ] Make wxWindow::Update() update native controls
authorAlex Bligh <alex@alex.org.uk>
Sun, 23 Jul 2006 20:56:08 +0000 (20:56 +0000)
committerAlex Bligh <alex@alex.org.uk>
Sun, 23 Jul 2006 20:56:08 +0000 (20:56 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@40250 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/window.cpp

index 424a219958c33517895e4241879e82fdb4dbb170..5a57e60889da947041909c9b4f9da12c02210d32 100644 (file)
@@ -3716,6 +3716,8 @@ void wxWindowGTK::GtkUpdate()
 {
     if (m_wxwindow && GTK_PIZZA(m_wxwindow)->bin_window)
         gdk_window_process_updates( GTK_PIZZA(m_wxwindow)->bin_window, FALSE );
+    if (m_widget && m_widget->window)
+        gdk_window_process_updates( m_widget->window, FALSE );
 
     // for consistency with other platforms (and also because it's convenient
     // to be able to update an entire TLW by calling Update() only once), we