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:
parent
fd76344ecc
commit
3b7c7652d7
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user