]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/chkconf.h
check that the conversion to wxDateTime was really successful
[wxWidgets.git] / include / wx / msw / chkconf.h
index b1c8c9125cd912afff9f679a1c4b31f2d6374652..d1d30c7c24556f26807c6dbbfdaa85d4cb5c2c45 100644 (file)
 #   define wxUSE_POSTSCRIPT 1
 #endif
 
-/* VC6 can't handle the templates for the 'type safe events': */
+/*
+   Currently only recent MSVC compilers can build the new events code under
+   Windows.
+ */
 #if !wxEVENTS_COMPATIBILITY_2_8
-#   ifdef __VISUALC6__
+#   if !wxCHECK_VISUALC_VERSION(7)
 #       undef wxEVENTS_COMPATIBILITY_2_8
 #       define wxEVENTS_COMPATIBILITY_2_8 1
 #   endif