]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/toplevel.cpp
don't give error messages if ws2_32.dll is not available in wxGetHostName()
[wxWidgets.git] / src / x11 / toplevel.cpp
index adb3b421786f465d716df5bfe3dda65658959ad7..7fcd2b9894ca1036389d8c1d971717e2845e1244 100644 (file)
@@ -139,7 +139,7 @@ bool wxTopLevelWindowX11::Create(wxWindow *parent,
         xattributes.override_redirect = True;
     }
     
-    if (HasFlag( wxNO_FULL_REPAINT_ON_RESIZE ))
+    if (!HasFlag( wxFULL_REPAINT_ON_RESIZE ))
     {
         xattributes_mask |= CWBitGravity;
         xattributes.bit_gravity = NorthWestGravity;