X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b706528b9e0e3f7ae7afdfb23af157293b8d71a7..f196316400fd247a760b2ef77d5064b4e10e5471:/include/wx/msw/wince/chkconf.h diff --git a/include/wx/msw/wince/chkconf.h b/include/wx/msw/wince/chkconf.h index e49897df72..3ec43b9b5a 100644 --- a/include/wx/msw/wince/chkconf.h +++ b/include/wx/msw/wince/chkconf.h @@ -12,12 +12,15 @@ #ifndef _WX_MSW_WINCE_CHKCONF_H_ #define _WX_MSW_WINCE_CHKCONF_H_ -// Standard SDK lacks a few things, forcefully disable them -#ifdef WCE_PLATFORM_STANDARDSDK - // no shell functions support - #undef wxUSE_STDPATHS - #define wxUSE_STDPATHS 0 -#endif // WCE_PLATFORM_STANDARDSDK +// ---------------------------------------------------------------------------- +// Disable features which don't work or don't make sense under CE +// ---------------------------------------------------------------------------- + +// please keep the list in alphabetic order except for closely related settings +// (e.g. wxUSE_ENH_METAFILE is put immediately after wxUSE_METAFILE) + +#undef wxUSE_DEBUGREPORT +#define wxUSE_DEBUGREPORT 0 #if _WIN32_WCE < 400 // not enough API and lack of ddraw.h @@ -25,57 +28,92 @@ #define wxUSE_DISPLAY 0 #endif +// wxFSVolume currently doesn't compile under CE and it's not clear if it makes +// sense at all there (the drives and their names are fixed on CE systems) +#undef wxUSE_FSVOLUME +#define wxUSE_FSVOLUME 0 + +// no .INI files API under CE +#undef wxUSE_INICONF +#define wxUSE_INICONF 0 + // DDE doesn't exist under WinCE and wxIPC is DDE-based under MSW #undef wxUSE_IPC #define wxUSE_IPC 0 +// doesn't make sense for CE devices and doesn't compile anyhow +#undef wxUSE_JOYSTICK +#define wxUSE_JOYSTICK 0 + +// 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 + +// no MDI under CE +#undef wxUSE_MDI +#define wxUSE_MDI 0 +#undef wxUSE_MDI_ARCHITECTURE +#define wxUSE_MDI_ARCHITECTURE 0 + // metafiles are not supported neither +#undef wxUSE_METAFILE +#define wxUSE_METAFILE 0 #undef wxUSE_ENH_METAFILE #define wxUSE_ENH_METAFILE 0 -#undef wxUSE_METAFILE -#define wxUSE_METAFILE 0 +// not sure if this is supported by CE but it doesn't compile currently anyhow +#undef wxUSE_MS_HTML_HELP +#define wxUSE_MS_HTML_HELP 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_MEDIACTRL -#define wxUSE_MEDIACTRL 0 - -#undef wxUSE_WXHTML_HELP -#define wxUSE_WXHTML_HELP 0 +// no owner drawn controls (not sure if this is possible at all but in any case +// the code doesn't currently compile) +#undef wxUSE_OWNER_DRAWN +#define wxUSE_OWNER_DRAWN 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 +// other MSW settings not supported by CE +#undef wxUSE_PRINTING_ARCHITECTURE +#define wxUSE_PRINTING_ARCHITECTURE 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 +// Standard SDK lacks a few things, forcefully disable them +#ifdef WCE_PLATFORM_STANDARDSDK + // no shell functions support + #undef wxUSE_STDPATHS + #define wxUSE_STDPATHS 0 +#endif // WCE_PLATFORM_STANDARDSDK + +// not sure if this is supported by eVC but VC8 SDK lacks the tooltips control +// related declarations +#if defined(__VISUALC__) && __VISUALC__ >= 1400 + #undef wxUSE_TOOLTIPS + #define wxUSE_TOOLTIPS 0 +#endif #undef wxUSE_UNICODE_MSLU #define wxUSE_UNICODE_MSLU 0 +#undef wxUSE_UXTHEME +#define wxUSE_UXTHEME 0 + +#undef wxUSE_WXHTML_HELP +#define wxUSE_WXHTML_HELP 0 + // Disable features which don't make sense for MS Smartphones -// (due to pointer device usage, limited controls, file system) +// (due to pointer device usage, limited controls or dialogs, file system) #if defined(__SMARTPHONE__) #undef wxUSE_LISTBOOK #define wxUSE_LISTBOOK 0 @@ -85,6 +123,12 @@ #undef wxUSE_STATUSBAR #define wxUSE_STATUSBAR 0 + + #undef wxUSE_COLOURPICKERCTRL + #define wxUSE_COLOURPICKERCTRL 0 + + #undef wxUSE_COLOURDLG + #define wxUSE_COLOURDLG 0 #endif // __SMARTPHONE__ #endif // _WX_MSW_WINCE_CHKCONF_H_