X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/69dada2e7a616b263e73211e35c687196c8f89b5..af57c51ab758ad9810ea5bbb3703341cd5f367b1:/include/wx/msw/wince/chkconf.h?ds=sidebyside diff --git a/include/wx/msw/wince/chkconf.h b/include/wx/msw/wince/chkconf.h index abdb5bb42a..2c2b658087 100644 --- a/include/wx/msw/wince/chkconf.h +++ b/include/wx/msw/wince/chkconf.h @@ -1,5 +1,5 @@ /////////////////////////////////////////////////////////////////////////////// -// Name: wx/wince/chkconf.h +// Name: wx/msw/wince/chkconf.h // Purpose: WinCE-specific configuration options checks // Author: Vadim Zeitlin // Modified by: @@ -19,5 +19,72 @@ #define wxUSE_STDPATHS 0 #endif // WCE_PLATFORM_STANDARDSDK +#if _WIN32_WCE < 400 + // not enough API and lack of ddraw.h + #undef wxUSE_DISPLAY + #define wxUSE_DISPLAY 0 +#endif + +// DDE doesn't exist under WinCE and wxIPC is DDE-based under MSW +#undef wxUSE_IPC +#define wxUSE_IPC 0 + +// metafiles are not supported neither +#undef wxUSE_ENH_METAFILE +#define wxUSE_ENH_METAFILE 0 + +#undef wxUSE_METAFILE +#define wxUSE_METAFILE 0 + +// eVC doesn't support SEH +#undef wxUSE_ON_FATAL_EXCEPTION +#define wxUSE_ON_FATAL_EXCEPTION 0 + +#undef wxUSE_WXHTML_HELP +#define wxUSE_WXHTML_HELP 0 + +// libtiff and regex apparently don't compile with eVC (to check with eVC4?) +// and they're disabled for WinCE in build/bakefiles/{tiff|regex}.bkl so can't +// be enabled here +#undef wxUSE_LIBTIFF +#define wxUSE_LIBTIFF 0 + +#undef wxUSE_REGEX +#define wxUSE_REGEX 0 + +#undef wxUSE_DEBUGREPORT +#define wxUSE_DEBUGREPORT 0 + +// other MSW settings not supported by CE +#undef wxUSE_RICHEDIT +#define wxUSE_RICHEDIT 0 +#undef wxUSE_RICHEDIT2 +#define wxUSE_RICHEDIT2 0 + +#undef wxUSE_UXTHEME +#define wxUSE_UXTHEME 0 +#undef wxUSE_UXTHEME_AUTO +#define wxUSE_UXTHEME_AUTO 0 + +#undef wxUSE_UNICODE_MSLU +#define wxUSE_UNICODE_MSLU 0 + + +// Disable features which don't make sense for MS Smartphones +// (due to pointer device usage, limited controls or dialogs, file system) +#if defined(__SMARTPHONE__) + #undef wxUSE_LISTBOOK + #define wxUSE_LISTBOOK 0 + + #undef wxUSE_NOTEBOOK + #define wxUSE_NOTEBOOK 0 + + #undef wxUSE_STATUSBAR + #define wxUSE_STATUSBAR 0 + + #undef wxUSE_COLOURPICKERCTRL + #define wxUSE_COLOURPICKERCTRL 0 +#endif // __SMARTPHONE__ + #endif // _WX_MSW_WINCE_CHKCONF_H_