X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d04a9fdfe2fae53a4a633db465eb8b379bbd974d..2d145378f68347bef1dc25356c0a367bed304cd6:/src/common/module.cpp diff --git a/src/common/module.cpp b/src/common/module.cpp index 230b8aa577..b8438d4602 100644 --- a/src/common/module.cpp +++ b/src/common/module.cpp @@ -4,7 +4,6 @@ // Author: Wolfram Gloger/adapted by Guilhem Lavaux // Modified by: // Created: 04/11/98 -// RCS-ID: $Id$ // Copyright: (c) Wolfram Gloger and Guilhem Lavaux // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -26,11 +25,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 +55,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 +191,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;