X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4798fbc7d1d29a18c456f160cc8d2f54184eb61e..ca6911c361b04290fe1f0e64b616249b3b3d71ba:/include/wx/msw/wince/chkconf.h diff --git a/include/wx/msw/wince/chkconf.h b/include/wx/msw/wince/chkconf.h index fb0a9e19bf..a15f394277 100644 --- a/include/wx/msw/wince/chkconf.h +++ b/include/wx/msw/wince/chkconf.h @@ -28,6 +28,12 @@ #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 @@ -46,11 +52,15 @@ #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 @@ -80,7 +90,7 @@ #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 @@ -137,5 +147,13 @@ #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_