X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ec157c8f95dfa40b19202a320e7a1d60995d2c8e..48f625bc2ce81132a2a8c2d7c524a03f1b7196e5:/src/common/dynload.cpp diff --git a/src/common/dynload.cpp b/src/common/dynload.cpp index ded5bbd2d6..562b6ce975 100644 --- a/src/common/dynload.cpp +++ b/src/common/dynload.cpp @@ -10,10 +10,6 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma implementation "dynload.h" -#endif - // ---------------------------------------------------------------------------- // headers // ---------------------------------------------------------------------------- @@ -137,11 +133,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 +150,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())); } }