X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f73f67bee47491d3cd61cecff323074e328c5a1e..1ec3a9848a6843aca1b3590f636a149dd274efdc:/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;