+ wxModule *module = node->GetData();
+ if ( !module->Init() )
+ {
+ wxLogError(_("Module \"%s\" initialization failed"),
+ module->GetClassInfo()->GetClassName());
+
+ // clean up already initialized modules - process in reverse order
+ wxModuleList::compatibility_iterator n;
+ for ( n = node->GetPrevious(); n; n = n->GetPrevious() )
+ {
+ n->GetData()->OnExit();
+ }
+
+ return false;
+ }