# define __VISUALC8__
# elif __VISUALC__ < 1600
# define __VISUALC9__
+# elif __VISUALC__ < 1700
+# define __VISUALC10__
# else
-# pragma message("Please update this code for the next VC++ version")
+# pragma message("Please update wx/platform.h to recognize this VC++ version")
# endif
# elif defined(__BCPLUSPLUS__) && !defined(__BORLANDC__)
#else
# undef wxCHECK_W32API_VERSION
# define wxCHECK_W32API_VERSION(maj, min) (0)
+# undef wxCHECK_MINGW32_VERSION
+# define wxCHECK_MINGW32_VERSION(maj, min) (0)
#endif
/**
#define POSSEC_FILEFN
#endif // __WXPALMOS5__
+/*
+ Optionally supported C++ features.
+ */
+
+/*
+ RTTI: if it is disabled in build/msw/makefile.* then this symbol will
+ already be defined but it's also possible to do it from configure (with
+ g++) or by editing project files with MSVC so test for it here too.
+ */
+#ifndef wxNO_RTTI
+ /*
+ Only 4.3 defines __GXX_RTTI by default so its absence is not an
+ indication of disabled RTTI with the previous versions.
+ */
+# if wxCHECK_GCC_VERSION(4, 3)
+# ifndef __GXX_RTTI
+# define wxNO_RTTI
+# endif
+# elif defined(_MSC_VER)
+# ifndef _CPPRTTI
+# define wxNO_RTTI
+# endif
+# endif
+#endif // wxNO_RTTI
+
#endif /* _WX_PLATFORM_H_ */