From: Vadim Zeitlin Date: Mon, 12 Jan 2009 14:44:54 +0000 (+0000) Subject: disable new events for MSVC 7, it fails to compile it (#10000) X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8e62855a3fecf13954e850d64df98033ef48762b?ds=inline disable new events for MSVC 7, it fails to compile it (#10000) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/include/wx/msw/chkconf.h b/include/wx/msw/chkconf.h index b1c8c9125c..502d40be42 100644 --- a/include/wx/msw/chkconf.h +++ b/include/wx/msw/chkconf.h @@ -403,7 +403,7 @@ /* VC6 can't handle the templates for the 'type safe events': */ #if !wxEVENTS_COMPATIBILITY_2_8 -# ifdef __VISUALC6__ +# if wxVISUALC_VERSION && !wxCHECK_VISUALC_VERSION(8) # undef wxEVENTS_COMPATIBILITY_2_8 # define wxEVENTS_COMPATIBILITY_2_8 1 # endif