]> git.saurik.com Git - wxWidgets.git/commitdiff
fix the MSVC check in the last comment and accompanying comment
authorVadim Zeitlin <vadim@wxwidgets.org>
Mon, 12 Jan 2009 14:48:13 +0000 (14:48 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Mon, 12 Jan 2009 14:48:13 +0000 (14:48 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58042 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

include/wx/msw/chkconf.h

index 502d40be42a64819ed08d2f427d14abd3a3ce643..c5d0b77e83d29f933bd302ef8ef1ec9ae0373198 100644 (file)
 #   define wxUSE_POSTSCRIPT 1
 #endif
 
-/* VC6 can't handle the templates for the 'type safe events': */
+/* VC6 and 7 currently can't handle template Connect() overloads: */
 #if !wxEVENTS_COMPATIBILITY_2_8
-#   if wxVISUALC_VERSION && !wxCHECK_VISUALC_VERSION(8)
+#   if defined(__VISUALC__) && !wxCHECK_VISUALC_VERSION(8)
 #       undef wxEVENTS_COMPATIBILITY_2_8
 #       define wxEVENTS_COMPATIBILITY_2_8 1
 #   endif