X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/588cf92fcbf09f38021d23d77b5d7db14b367c13..7a21e692d22ec16a5de7dbbb73761d4c4456edaa:/src/univ/winuniv.cpp diff --git a/src/univ/winuniv.cpp b/src/univ/winuniv.cpp index d36c97fb75..4de62140fc 100644 --- a/src/univ/winuniv.cpp +++ b/src/univ/winuniv.cpp @@ -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