X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d04a9fdfe2fae53a4a633db465eb8b379bbd974d..8626e0b73de21463908bf855700c31e41c661b30:/src/common/module.cpp diff --git a/src/common/module.cpp b/src/common/module.cpp index 230b8aa577..9274c3b5ac 100644 --- a/src/common/module.cpp +++ b/src/common/module.cpp @@ -26,11 +26,11 @@ #include "wx/listimpl.cpp" -#define TRACE_MODULE _T("module") +#define TRACE_MODULE wxT("module") 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"), @@ -192,7 +192,7 @@ void wxModule::DoCleanUpModules(const wxModuleList& modules) wxModule * module = node->GetData(); wxASSERT_MSG( module->m_state == State_Initialized, - _T("not initialized module being cleaned up") ); + wxT("not initialized module being cleaned up") ); module->Exit(); module->m_state = State_Registered;