From: Mattia Barbon Date: Sun, 31 Jul 2005 07:31:33 +0000 (+0000) Subject: Use accessors for wxObject members. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/b77a938972a3e62a53667ae81abe5c439727acb8 Use accessors for wxObject members. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@35033 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/common/dynload.cpp b/src/common/dynload.cpp index ded5bbd2d6..5dd8e0eba1 100644 --- a/src/common/dynload.cpp +++ b/src/common/dynload.cpp @@ -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())); } }