]> Creatis software - bbtk.git/blobdiff - kernel/appli/bbi/bbi.cxx
Compiles de nuevo with no global factory
[bbtk.git] / kernel / appli / bbi / bbi.cxx
index 3a7368b4a4c4500a3207d06754cd9fb900076954..56417d9f5458215456e7b6fcdfd8dae3e869fdbd 100644 (file)
@@ -144,8 +144,11 @@ bool wxBBIApp::OnInit( )
   for (i=input_file.begin(); i!=input_file.end(); ++i) I->InterpretFile(*i);
   I->SetNoExecMode(false);
 
-  if (help_on_script) bbtk::HelpBlackBox("workspace",false);
-
+  if (help_on_script) 
+    {
+      std::string package; 
+      I->GetInterpreter()->GetExecuter()->GetFactory()->HelpBlackBox("workspace",package,false);
+    }
   if (!(command || bbtk::Wx::IsSomeWindowShown() ))
     {
       I->Close();