From: Vadim Zeitlin Date: Tue, 13 Apr 2004 12:25:56 +0000 (+0000) Subject: define WS_XXX constants missing in (some) CE SDKs X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/2fce94e20c94073fda30327c7c835def4415361c define WS_XXX constants missing in (some) CE SDKs git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26745 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/msw/wince/missing.h b/include/wx/msw/wince/missing.h index 6bb4acd51f..1ce4c9624a 100644 --- a/include/wx/msw/wince/missing.h +++ b/include/wx/msw/wince/missing.h @@ -92,6 +92,21 @@ extern "C" #define HGDI_ERROR ((HANDLE)(0xFFFFFFFFL)) #endif +// some windows styles don't exist in CE SDK, replace them with closest +// equivalents +#ifndef WS_THICKFRAME + #define WS_THICKFRAME WS_BORDER +#endif + +#ifndef WS_MINIMIZE + #define WS_MINIMIZE 0 +#endif + +#ifndef WS_MAXIMIZE + #define WS_MAXIMIZE 0 +#endif + + // global memory functions don't exist under CE (good riddance, of course, but // the existing code still uses them in some places, so make it compile) //