Use accessors for wxObject members.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Mattia Barbon 2005-07-31 07:31:33 +00:00
parent bfb8eb7eae
commit b77a938972

View File

@ -137,11 +137,11 @@ void wxPluginLibrary::UpdateClasses()
{
for (wxClassInfo *info = m_after; info != m_before; info = info->m_next)
{
if( info->m_className )
if( info->GetClassName() )
{
// Hash all the class names into a local table too so
// we can quickly find the entry they correspond to.
(*ms_classes)[info->m_className] = this;
(*ms_classes)[info->GetClassName()] = this;
}
}
}
@ -154,7 +154,7 @@ void wxPluginLibrary::RestoreClasses()
for(wxClassInfo *info = m_after; info != m_before; info = info->m_next)
{
ms_classes->erase(ms_classes->find(info->m_className));
ms_classes->erase(ms_classes->find(info->GetClassName()));
}
}