made wxNO_FULL_REPAINT_ON_RESIZE default, added wxFULL_REPAINT_ON_RESIZE
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@23871 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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 */);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user