]> Creatis software - bbtk.git/commitdiff
*** empty log message ***
authorguigues <guigues>
Mon, 17 Mar 2008 11:28:11 +0000 (11:28 +0000)
committerguigues <guigues>
Mon, 17 Mar 2008 11:28:11 +0000 (11:28 +0000)
kernel/src/bbtkWxConsole.cxx

index 11b9f56bd12e6bd9643bd7157f9f846315531aac..e430d9a11ed033f973c29b2ab52805ec4ebcdfee 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkWxConsole.cxx,v $
   Language:  C++
-  Date:      $Date: 2008/03/17 07:04:08 $
-  Version:   $Revision: 1.14 $
+  Date:      $Date: 2008/03/17 11:28:11 $
+  Version:   $Revision: 1.15 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -467,9 +467,10 @@ namespace bbtk
   //================================================================
   void WxConsole::OnMenuCreatePackage(wxCommandEvent& WXUNUSED(event))
   {
-       std::cout << "bbi: include CreatePackage" << std::endl;
+    std::string command("toolsbbtk/appli/CreatePackage");
+    bbtkMessage("Debug",1,"Executing : '"<<command<<"'"<<std::endl);
     Interpreter* I = new Interpreter;    
-       I->InterpretFile("CreatePackage");
+    I->InterpretFile(command);
     delete I;
   }
   //================================================================
@@ -478,9 +479,10 @@ namespace bbtk
   //================================================================
   void WxConsole::OnMenuCreateBlackBox(wxCommandEvent& WXUNUSED(event))
   {
-       std::cout << "bbi: include CreateBlackBox" << std::endl;
+    std::string command("toolsbbtk/appli/CreateBlackBox");
+    bbtkMessage("Debug",1,"Executing : '"<<command<<"'"<<std::endl);
     Interpreter* I = new Interpreter;    
-       I->InterpretFile("CreateBlackBox");
+    I->InterpretFile(command);
     delete I;
   }
   //================================================================