- 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->m_baseInfo1 = GetBaseByName(info->GetBaseClassName1());
+ info->m_baseInfo2 = GetBaseByName(info->GetBaseClassName2());