]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/window.cpp
removed #if KEY_wxList_DEPRECATED: as KEY_wxList_DEPRECATED is not defined anywhere...
[wxWidgets.git] / src / gtk1 / window.cpp
index 75df72073fa5020ea9bae60c91b4051193a7239d..0813f585cd15522fd107b270efa6122d7bc4bf56 100644 (file)
@@ -4151,8 +4151,7 @@ void wxWindowGTK::GtkSendPaintEvents()
 
     m_clipPaintRegion = false;
 
-#ifndef __WXUNIVERSAL__
-#ifndef __WXGTK20__
+#if !defined(__WXUNIVERSAL__) && !defined(__WXGTK20__)
     // The following code will result in all window-less widgets
     // being redrawn because the wxWidgets class is allowed to
     // paint over the window-less widgets.
@@ -4173,6 +4172,7 @@ void wxWindowGTK::GtkSendPaintEvents()
             gdk_event.type = GDK_EXPOSE;
             gdk_event.window = pizza->bin_window;
             gdk_event.count = 0;
+            gdk_event.send_event = TRUE;
 
             wxRegionIterator upd( m_updateRegion );
             while (upd)
@@ -4192,8 +4192,7 @@ void wxWindowGTK::GtkSendPaintEvents()
             }
         }
     }
-#endif
-#endif
+#endif // native GTK 1
 
     m_updateRegion.Clear();
 }