#define wxUSE_DISPLAY 0
#endif
+// eVC doesn't have standard streams
+#ifdef __EVC4__
+ #undef wxUSE_STD_IOSTREAM
+ #define wxUSE_STD_IOSTREAM 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
#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
+// libtiff doesn't build with eVC but is ok with VC8
+#ifdef __EVC4__
+ #undef wxUSE_LIBTIFF
+ #define wxUSE_LIBTIFF 0
+#endif
+
+// no AUI under CE: it's unnecessary and currently doesn't compile
+#undef wxUSE_AUI
+#define wxUSE_AUI 0
// no MDI under CE
#undef wxUSE_MDI
#undef wxUSE_OWNER_DRAWN
#define wxUSE_OWNER_DRAWN 0
-// libtiff and regex apparently don't compile with eVC (to check with eVC4?)
-// other MSW settings not supported by CE
#undef wxUSE_PRINTING_ARCHITECTURE
#define wxUSE_PRINTING_ARCHITECTURE 0
-#undef wxUSE_REGEX
-#define wxUSE_REGEX 0
+// regex doesn't build with eVC but is ok with VC8
+#ifdef __EVC4__
+ #undef wxUSE_REGEX
+ #define wxUSE_REGEX 0
+#endif
#undef wxUSE_RICHEDIT
#define wxUSE_RICHEDIT 0
#define wxUSE_STDPATHS 0
#endif // WCE_PLATFORM_STANDARDSDK
+// there is no support for balloon taskbar icons
+#undef wxUSE_TASKBARICON_BALLOONS
+#define wxUSE_TASKBARICON_BALLOONS 0
+
// not sure if this is supported by eVC but VC8 SDK lacks the tooltips control
// related declarations
-#if defined(__VISUALC__) && __VISUALC__ >= 1400
+#if wxCHECK_VISUALC_VERSION(8)
#undef wxUSE_TOOLTIPS
#define wxUSE_TOOLTIPS 0
#endif