Fixed bug [ 1195479 ] RedrawWindow() incompatible with eVC3
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33997 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -1396,7 +1396,8 @@ void wxWindowMSW::Refresh(bool eraseBack, const wxRect *rect)
|
|||||||
pRect = NULL;
|
pRect = NULL;
|
||||||
}
|
}
|
||||||
|
|
||||||
#ifndef __SMARTPHONE__
|
// RedrawWindow not available on SmartPhone or eVC++ 3
|
||||||
|
#if !defined(__SMARTPHONE__) && !(defined(_WIN32_WCE) && _WIN32_WCE < 400)
|
||||||
UINT flags = RDW_INVALIDATE | RDW_ALLCHILDREN;
|
UINT flags = RDW_INVALIDATE | RDW_ALLCHILDREN;
|
||||||
if ( eraseBack )
|
if ( eraseBack )
|
||||||
flags |= RDW_ERASE;
|
flags |= RDW_ERASE;
|
||||||
|
Reference in New Issue
Block a user