+void wxClassInfo::InitializeClasses()
+{
+ wxClassInfo::sm_classTable = new wxHashTable(wxKEY_STRING);
+
+ // Index all class infos by their class name
+ wxClassInfo *info = sm_first;
+ while (info)
+ {
+ if (info->m_className)
+ sm_classTable->Put(info->m_className, (wxObject *)info);
+ info = info->m_next;
+ }
+
+ // Set base pointers for each wxClassInfo
+ info = sm_first;
+ while (info)
+ {
+ if (info->GetBaseClassName1())
+ info->m_baseInfo1 = (wxClassInfo *)sm_classTable->Get(info->GetBaseClassName1());
+ if (info->GetBaseClassName2())
+ info->m_baseInfo2 = (wxClassInfo *)sm_classTable->Get(info->GetBaseClassName2());
+ info = info->m_next;
+ }
+}
+
+void wxClassInfo::CleanUpClasses()