]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/defs.h
Rename wxGenericImageList to wxImageList in generic wxListCtrl, too.
[wxWidgets.git] / include / wx / defs.h
index ed4aca1603695fc7f4a5085746b330cdef353cd2..dbd1be4c132f9ed5f5074f1f1326cd2dd7a32ac6 100644 (file)
@@ -231,8 +231,11 @@ typedef int wxWindowID;
 
 // check for explicit keyword support
 #ifndef HAVE_EXPLICIT
-    // TODO: add more compiler tests here
-    #if defined(__VISUALC__) && (__VISUALC__ > 1020)
+    // VC++ 6.0 has explicit (what about the earlier versions?)
+    #if defined(__VISUALC__) && (__VISUALC__ > 1200)
+        #define HAVE_EXPLICIT
+    // Metrowerks CW6 or higher has explicit
+    #elif defined(__MWERKS__) && (__MWERKS__ >= 0x2400)
         #define HAVE_EXPLICIT
     #endif
 #endif // !HAVE_EXPLICIT