]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/window.cpp
move default button handling code from wxControlContainer to wxTLW (patch 1524441)
[wxWidgets.git] / 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_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
 
     // 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