X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14f355c2b5c71fc7c3d680aea366582d2ac60f7b..b081046a6646bba07fb953adb06ebfe8ffffc3f7:/src/common/module.cpp diff --git a/src/common/module.cpp b/src/common/module.cpp index 70334f639d..eee9507ee1 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);