X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3c7789014106c9269b0f4ecc1a3071b14f351d3f..2fd716136a961ab6038996343e42257c2d81aac2:/include/wx/msw/chkconf.h diff --git a/include/wx/msw/chkconf.h b/include/wx/msw/chkconf.h index b1c8c9125c..d1d30c7c24 100644 --- a/include/wx/msw/chkconf.h +++ b/include/wx/msw/chkconf.h @@ -401,9 +401,12 @@ # 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