+// a tiny InitializeClasses() helper
+/* static */
+inline wxClassInfo *wxClassInfo::GetBaseByName(const wxChar *name)
+{
+ if ( !name )
+ return NULL;
+
+ wxClassInfo *classInfo = (wxClassInfo *)sm_classTable->Get(name);
+
+ // this must be fixed, other things risk work wrongly later if you get this
+ wxASSERT_MSG( classInfo, _T("base class unknown to wxWindows RTTI") );
+
+ return classInfo;
+}