]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/platform.h
Simplify and correct MSW selection of background brush for children painting.
[wxWidgets.git] / include / wx / platform.h
index 33770bcb4293744cf0b5c1dcd05ecb6f84733250..713925585f7f2d29e61e77ed166456b93503dac4 100644 (file)
 #else
 #    undef wxCHECK_W32API_VERSION
 #    define wxCHECK_W32API_VERSION(maj, min) (0)
+#    undef wxCHECK_MINGW32_VERSION
+#    define wxCHECK_MINGW32_VERSION(maj, min) (0)
 #endif
 
 /**
     g++) or by editing project files with MSVC so test for it here too.
  */
 #ifndef wxNO_RTTI
-#   ifdef __GNUG__
+    /*
+        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