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:
Julian Smart
2005-05-09 21:26:31 +00:00
parent 7a9ca9fca6
commit 4152714397

View File

@@ -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;