]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/chkconf.h
another missing WXDLLIMPEXP to fix DLL build
[wxWidgets.git] / include / wx / msw / chkconf.h
index 375f080b71acc9344cc788ff2c0bd8b8cc0783bb..d1d30c7c24556f26807c6dbbfdaa85d4cb5c2c45 100644 (file)
 #endif
 
 /*
-   Currently MSVC can't build the library with new-style events:
-    - VC6 simply doesn't have good enough templates support
-    - VC7 always seems to choos the Connect() overload using Functor, even when
-    the argument is a class method
-    - VC9 compiles the code fine but fails at linking stage in DLL build
+   Currently only recent MSVC compilers can build the new events code under
+   Windows.
  */
 #if !wxEVENTS_COMPATIBILITY_2_8
-#   if defined(__VISUALC__)
+#   if !wxCHECK_VISUALC_VERSION(7)
 #       undef wxEVENTS_COMPATIBILITY_2_8
 #       define wxEVENTS_COMPATIBILITY_2_8 1
 #   endif