X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e765d7ee7309149e8be24e29466a2b2c8ff7b3ae..8fdbcf4de8eeff67ccfaf3deec833d203f112629:/src/common/module.cpp?ds=inline diff --git a/src/common/module.cpp b/src/common/module.cpp index 3532ceb149..9274c3b5ac 100644 --- a/src/common/module.cpp +++ b/src/common/module.cpp @@ -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"),