X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14f355c2b5c71fc7c3d680aea366582d2ac60f7b..768a499594fd9c9fd0155d0513c7f5b785ce4439:/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()