]> Creatis software - bbtk.git/commitdiff
*** empty log message ***
authorEduardo Davila <Eduardo.Davila@creatis.insa-lyon.fr>
Tue, 21 Oct 2008 14:38:31 +0000 (14:38 +0000)
committerEduardo Davila <Eduardo.Davila@creatis.insa-lyon.fr>
Tue, 21 Oct 2008 14:38:31 +0000 (14:38 +0000)
kernel/src/bbtkWxGUIScriptingInterface.cxx

index a50ce204187397b1f380ab0a0e723b1954e287ea..245e1f2a927ebfcb3258f1c350b2090e3b66b68f 100644 (file)
@@ -2,8 +2,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkWxGUIScriptingInterface.cxx,v $
   Language:  C++
-  Date:      $Date: 2008/10/21 08:37:04 $
-  Version:   $Revision: 1.30 $
+  Date:      $Date: 2008/10/21 14:38:31 $
+  Version:   $Revision: 1.31 $
 =========================================================================*/
 
 /* ---------------------------------------------------------------------
@@ -414,12 +414,18 @@ namespace bbtk
   //================================================================
   void WxGUIScriptingInterface::OnMenuCreatePackage(wxCommandEvent& WXUNUSED(event))
   {
-
+/*
     std::string command("toolsbbtk/appli/GUICreatePackage");
     bbtkMessage("Debug",1,"Executing : '"<<command<<"'"<<std::endl);
-    
-    Interpreter::Pointer I = Interpreter::New();    
+  
+       Interpreter::Pointer I = Interpreter::New();    
     I->InterpretFile(command);
+*/
+    std::string command("reset");
+       mWxGUICommand->SendCommand(command);
+    command = "include toolsbbtk/appli/GUICreatePackage";
+    bbtkMessage("Debug",1,"Executing : '"<<command<<"'"<<std::endl);
+       mWxGUICommand->SendCommand(command);
 
   }
   //================================================================
@@ -428,11 +434,18 @@ namespace bbtk
   //================================================================
   void WxGUIScriptingInterface::OnMenuCreateBlackBox(wxCommandEvent& WXUNUSED(event))
   {
+         /*
     std::string command("toolsbbtk/appli/GUICreateBlackBox");
     bbtkMessage("Debug",1,"Executing : '"<<command<<"'"<<std::endl);
     
     Interpreter::Pointer I = Interpreter::New();    
     I->InterpretFile(command);
+*/
+    std::string command("reset");
+       mWxGUICommand->SendCommand(command);
+    command = "include toolsbbtk/appli/GUICreateBlackBox";
+    bbtkMessage("Debug",1,"Executing : '"<<command<<"'"<<std::endl);
+       mWxGUICommand->SendCommand(command);
   }
   //================================================================