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:
parent
bfb8eb7eae
commit
b77a938972
@ -137,11 +137,11 @@ void wxPluginLibrary::UpdateClasses()
|
|||||||
{
|
{
|
||||||
for (wxClassInfo *info = m_after; info != m_before; info = info->m_next)
|
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
|
// Hash all the class names into a local table too so
|
||||||
// we can quickly find the entry they correspond to.
|
// 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)
|
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()));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user