X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14f355c2b5c71fc7c3d680aea366582d2ac60f7b..9151dcec4f51cf7e9c160ede683cc63392459fea:/src/common/module.cpp diff --git a/src/common/module.cpp b/src/common/module.cpp index 70334f639d..5534c4c2dd 100644 --- a/src/common/module.cpp +++ b/src/common/module.cpp @@ -54,7 +54,7 @@ void wxModule::RegisterModules() { classInfo = (wxClassInfo *)node->GetData(); if ( classInfo->IsKindOf(CLASSINFO(wxModule)) && - (classInfo != (& (wxModule::sm_classwxModule))) ) + (classInfo != (& (wxModule::ms_classInfo))) ) { wxModule* module = (wxModule *)classInfo->CreateObject(); RegisterModule(module); @@ -78,11 +78,11 @@ bool wxModule::InitializeModules() n->GetData()->OnExit(); } - return FALSE; + return false; } } - return TRUE; + return true; } void wxModule::CleanUpModules()