]> git.saurik.com Git - wxWidgets.git/blobdiff - src/univ/winuniv.cpp
added condition for DARWIN (thanks to Steve Hartwell)
[wxWidgets.git] / src / univ / winuniv.cpp
index d36c97fb753126abad2f6e386a7d7a52bef02d87..4de62140fcde70049e1d6941c4a3e54063871600 100644 (file)
@@ -533,7 +533,7 @@ void wxWindow::OnSize(wxSizeEvent& event)
 #if 0   // ndef __WXMSW__
     // Refresh the area (strip) previously occupied by the border
 
-    if (HasFlag( wxNO_FULL_REPAINT_ON_RESIZE ) && IsShown())
+    if ( !HasFlag(wxFULL_REPAINT_ON_RESIZE) && IsShown() )
     {
         // This code assumes that wxSizeEvent.GetSize() returns
         // the area of the entire window, not just the client