]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/platform.h
Second try to get wxDataViewChoiceByIndex and its name right, hopefully fixes #11970...
[wxWidgets.git] / include / wx / platform.h
index dd343949e5bd24cbcd04143ff2cb6bf643140672..713925585f7f2d29e61e77ed166456b93503dac4 100644 (file)
     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