]> git.saurik.com Git - wxWidgets.git/commitdiff
remove code ifdef-ed on __X__, it is never defined for wxGTK
authorPaul Cornett <paulcor@bullseye.com>
Sun, 5 Feb 2012 17:43:28 +0000 (17:43 +0000)
committerPaul Cornett <paulcor@bullseye.com>
Sun, 5 Feb 2012 17:43:28 +0000 (17:43 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/gtk/window.cpp

index e45dd06302285d288de1f4f645915420730eee1f..7a8d6a445c1e900a3d57774043058ebf7c065e75 100644 (file)
@@ -3991,10 +3991,6 @@ bool wxWindowGTK::SetBackgroundStyle(wxBackgroundStyle style)
             // Make sure GDK/X11 doesn't refresh the window
             // automatically.
             gdk_window_set_back_pixmap( window, None, False );
-#ifdef __X__
-            Display* display = GDK_WINDOW_DISPLAY(window);
-            XFlush(display);
-#endif
             m_needsStyleChange = false;
         }
         else // window not realized yet