X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/69dada2e7a616b263e73211e35c687196c8f89b5..d11e8786ed13b72766eea18cb577cc00f9f08f41:/include/wx/msw/wince/chkconf.h diff --git a/include/wx/msw/wince/chkconf.h b/include/wx/msw/wince/chkconf.h index abdb5bb42a..5f320a3605 100644 --- a/include/wx/msw/wince/chkconf.h +++ b/include/wx/msw/wince/chkconf.h @@ -19,5 +19,56 @@ #define wxUSE_STDPATHS 0 #endif // WCE_PLATFORM_STANDARDSDK +// 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 + +// media stuff not supported under CE +#undef wxUSE_DIRECTSHOW +#define wxUSE_DIRECTSHOW 0 + +#undef wxUSE_MEDIACTRL +#define wxUSE_MEDIACTRL 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 + + +// Disable features which don't make sense for MS Smartphones +// (due to pointer device usage, limited controls, 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_DEBUGREPORT + #define wxUSE_DEBUGREPORT 0 +#endif // __SMARTPHONE__ + #endif // _WX_MSW_WINCE_CHKCONF_H_