, m_baseInfo1(baseInfo1)
, m_baseInfo2(baseInfo2)
, m_next(sm_first)
- {
+ {
sm_first = this;
Register();
}
wxDEPRECATED( static void CleanUpClasses() );
#endif
static void CleanUp();
-
+
public:
const wxChar *m_className;
int m_objectSize;
static wxClassInfo *GetBaseByName(const wxChar *name);
DECLARE_NO_COPY_CLASS(wxClassInfo)
-
-protected:
+
+protected:
// registers the class
void Register();
void Unregister();
// get the runtime identity of this object
wxClassInfo *GetClassInfo() const
{
- return wx_const_cast(wxClassInfo *, m_classInfo);
+#ifdef _MSC_VER
+ return (wxClassInfo*) m_classInfo;
+#else
+ return wx_const_cast(wxClassInfo *, m_classInfo);
+#endif
}
wxObject* GetSuperClassInstance() const