X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9a83f860948059b0273b5cc6d9e43fadad3ebfca..8472511246c9160d4ff40ab86f635fc67c10b54a:/src/common/module.cpp?ds=inline diff --git a/src/common/module.cpp b/src/common/module.cpp index 4f61711b48..9274c3b5ac 100644 --- a/src/common/module.cpp +++ b/src/common/module.cpp @@ -30,7 +30,7 @@ WX_DEFINE_LIST(wxModuleList) -IMPLEMENT_CLASS(wxModule, wxObject) +wxIMPLEMENT_ABSTRACT_CLASS(wxModule, wxObject) wxModuleList wxModule::m_modules; @@ -56,7 +56,7 @@ void wxModule::RegisterModules() { const wxClassInfo* classInfo = *it; - if ( classInfo->IsKindOf(CLASSINFO(wxModule)) && + if ( classInfo->IsKindOf(wxCLASSINFO(wxModule)) && (classInfo != (& (wxModule::ms_classInfo))) ) { wxLogTrace(TRACE_MODULE, wxT("Registering module %s"),