]> git.saurik.com Git - wxWidgets.git/commitdiff
disable new events for MSVC 7, it fails to compile it (#10000)
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 12 Jan 2009 14:44:54 +0000 (14:44 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 12 Jan 2009 14:44:54 +0000 (14:44 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58041 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msw/chkconf.h

index b1c8c9125cd912afff9f679a1c4b31f2d6374652..502d40be42a64819ed08d2f427d14abd3a3ce643 100644 (file)
 
 /* 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