From: Vadim Zeitlin Date: Sat, 18 Apr 2009 12:23:51 +0000 (+0000) Subject: blind fix for eVC compilation with wxEVENTS_COMPATIBILITY_2_8==0 (hopefully closes... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/89574e1d5572c1c010e72516ced4ecda2517d955 blind fix for eVC compilation with wxEVENTS_COMPATIBILITY_2_8==0 (hopefully closes #10714) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@60234 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/msw/wince/chkconf.h b/include/wx/msw/wince/chkconf.h index 7024f8ad64..e22caac069 100644 --- a/include/wx/msw/wince/chkconf.h +++ b/include/wx/msw/wince/chkconf.h @@ -141,5 +141,13 @@ #define wxUSE_COLOURDLG 0 #endif // __SMARTPHONE__ +// eVC can't compile template Bind() but VC8 can +#if !wxEVENTS_COMPATIBILITY_2_8 +# if !wxCHECK_VISUALC_VERSION(8) +# undef wxEVENTS_COMPATIBILITY_2_8 +# define wxEVENTS_COMPATIBILITY_2_8 1 +# endif +#endif + #endif // _WX_MSW_WINCE_CHKCONF_H_