]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/dialog.cpp
MinGW compilation fixes.
[wxWidgets.git] / src / msw / dialog.cpp
index a2505b168dec6210234fff4f94b9cc01f68b7ffc..94cf00190a3113de6269602f49a32cfe8a48f219 100644 (file)
@@ -502,7 +502,7 @@ long wxDialog::MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM lParam)
             // creates flicker but at least doesn't show garbage on the screen
             rc = wxWindow::MSWWindowProc(message, wParam, lParam);
             processed = TRUE;
-            if ( !HasFlag(wxNO_FULL_REPAINT_ON_RESIZE) )
+            if ( HasFlag(wxFULL_REPAINT_ON_RESIZE) )
             {
                 ::InvalidateRect(GetHwnd(), NULL, FALSE /* erase bg */);
             }