X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1bc7510adb4d74edabbefb77fac09bdc49aa776c..8edb7cd500e8e95e9b4f3ed853caf1005696e053:/src/common/dynload.cpp diff --git a/src/common/dynload.cpp b/src/common/dynload.cpp index b38dbf6046..a0844febf6 100644 --- a/src/common/dynload.cpp +++ b/src/common/dynload.cpp @@ -10,7 +10,7 @@ // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#ifdef __GNUG__ +#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) #pragma implementation "dynload.h" #endif @@ -159,16 +159,6 @@ void wxPluginLibrary::UpdateClassInfo() (*ms_classes)[info->m_className] = this; } } - -#if wxUSE_EXTENDED_RTTI == 0 - for(info = m_after; info != m_before; info = info->m_next) - { - if( info->m_baseClassName1 ) - info->m_baseInfo1 = (wxClassInfo *)t->Get(info->m_baseClassName1); - if( info->m_baseClassName2 ) - info->m_baseInfo2 = (wxClassInfo *)t->Get(info->m_baseClassName2); - } -#endif } void wxPluginLibrary::RestoreClassInfo() @@ -531,7 +521,7 @@ void wxLibrary::PrepareClasses(wxClassInfo *first) info = info->m_next; } -#if wxUSE_EXTENDED_RTTI == 0 +#if !wxUSE_EXTENDED_RTTI // Set base pointers for each wxClassInfo info = first; while (info)