/*
If this is defined, wxEvtHandler::Bind<>() is available (not all compilers
have the required template support for this and in particular under Windows
- where only g++ and MSVC >= 7 currently support it, for the others it will be
- undefined in wx/chkconf.h).
+ where only g++ and MSVC >= 7 currently support it.
*/
-#define wxHAS_EVENT_BIND
+#if wxCHECK_GCC_VERSION(3, 2) || wxCHECK_VISUALC_VERSION(7)
+ #define wxHAS_EVENT_BIND
+#endif
+
#endif /* _WX_FEATURES_H_ */
# define wxUSE_POSTSCRIPT 1
#endif
-/*
- Currently only recent MSVC compilers can build the new events code under
- Windows.
- */
-#ifdef wxHAS_EVENT_BIND
-# if !wxCHECK_VISUALC_VERSION(7)
-# undef wxHAS_EVENT_BIND
-# endif
-#endif
-
#endif /* _WX_MSW_CHKCONF_H_ */