#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
#define wxUSE_JOYSTICK 0
// libtiff doesn't build with eVC but is ok with VC8
-#if !wxCHECK_VISUALC_VERSION(8)
+#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
#define wxUSE_MDI 0
#define wxUSE_PRINTING_ARCHITECTURE 0
// regex doesn't build with eVC but is ok with VC8
-#if !wxCHECK_VISUALC_VERSION(8)
+#ifdef __EVC4__
#undef wxUSE_REGEX
#define wxUSE_REGEX 0
#endif
#define wxUSE_COLOURDLG 0
#endif // __SMARTPHONE__
+// eVC can't compile template Bind() but VC8 can
+#if !wxEVENTS_COMPATIBILITY_2_8
+# ifdef __EVC4__
+# undef wxEVENTS_COMPATIBILITY_2_8
+# define wxEVENTS_COMPATIBILITY_2_8 1
+# endif
+#endif
+
#endif // _WX_MSW_WINCE_CHKCONF_H_