]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/object.h
Don't uninstall common files if there is more than one wxPython installed
[wxWidgets.git] / include / wx / object.h
index 20aa447d2d12797a86ad3713228d6aae0c8095a6..84e258463a1b486bdea61b26241dbf9116b0faf8 100644 (file)
@@ -547,7 +547,11 @@ public:
     // get the runtime identity of this object
     wxClassInfo *GetClassInfo() const
     {
+#ifdef _MSC_VER
+        return (wxClassInfo*) m_classInfo;
+#else
         return wx_const_cast(wxClassInfo *, m_classInfo);
+#endif
     }
 
     wxObject* GetSuperClassInstance() const