X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f73f67bee47491d3cd61cecff323074e328c5a1e..644231539d2ccf9ef873060154079f33ba7a42db:/src/msw/dialog.cpp diff --git a/src/msw/dialog.cpp b/src/msw/dialog.cpp index 7fe3bd5c0f..f37849b3ee 100644 --- a/src/msw/dialog.cpp +++ b/src/msw/dialog.cpp @@ -422,7 +422,7 @@ long wxDialog::MSWWindowProc(WXUINT message, WXWPARAM wParam, WXLPARAM lParam) processed = TRUE; if ( !HasFlag(wxNO_FULL_REPAINT_ON_RESIZE) ) { - Refresh(); + ::InvalidateRect(GetHwnd(), NULL, FALSE /* erase bg */); } break;