remove code ifdef-ed on __X__, it is never defined for wxGTK
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70517 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -3991,10 +3991,6 @@ bool wxWindowGTK::SetBackgroundStyle(wxBackgroundStyle style)
|
|||||||
// Make sure GDK/X11 doesn't refresh the window
|
// Make sure GDK/X11 doesn't refresh the window
|
||||||
// automatically.
|
// automatically.
|
||||||
gdk_window_set_back_pixmap( window, None, False );
|
gdk_window_set_back_pixmap( window, None, False );
|
||||||
#ifdef __X__
|
|
||||||
Display* display = GDK_WINDOW_DISPLAY(window);
|
|
||||||
XFlush(display);
|
|
||||||
#endif
|
|
||||||
m_needsStyleChange = false;
|
m_needsStyleChange = false;
|
||||||
}
|
}
|
||||||
else // window not realized yet
|
else // window not realized yet
|
||||||
|
Reference in New Issue
Block a user