]> Creatis software - bbtk.git/blobdiff - kernel/src/bbtkWxGUIConsole.cxx
*** empty log message ***
[bbtk.git] / kernel / src / bbtkWxGUIConsole.cxx
index f1b347ee8fa172a17cd485398dd370a1f5b4f29a..e19fb0e8f97e1f55e28c0f3ffeab28f75e9f29b9 100644 (file)
@@ -3,8 +3,8 @@
   Program:   bbtk
   Module:    $RCSfile: bbtkWxGUIConsole.cxx,v $
   Language:  C++
-  Date:      $Date: 2008/04/24 12:56:39 $
-  Version:   $Revision: 1.10 $
+  Date:      $Date: 2008/06/19 09:46:41 $
+  Version:   $Revision: 1.13 $
                                                                                 
   Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
   l'Image). All rights reserved. See Doc/License.txt or
@@ -287,7 +287,7 @@ namespace bbtk
   //================================================================
   void WxGUIConsole::OnMenuCreatePackage(wxCommandEvent& WXUNUSED(event))
   {
-    std::string command("toolsbbtk/appli/CreatePackage");
+    std::string command("toolsbbtk/appli/GUICreatePackage");
 
     bbtkMessage("Debug",1,"Executing : '"<<command<<"'"<<std::endl);
     Interpreter::Pointer I = Interpreter::New();    
@@ -299,7 +299,7 @@ namespace bbtk
   //================================================================
   void WxGUIConsole::OnMenuCreateBlackBox(wxCommandEvent& WXUNUSED(event))
   {
-    std::string command("toolsbbtk/appli/CreateBlackBox");
+    std::string command("toolsbbtk/appli/GUICreateBlackBox");
     bbtkMessage("Debug",1,"Executing : '"<<command<<"'"<<std::endl);
     Interpreter::Pointer I = Interpreter::New();    
     I->InterpretFile(command);
@@ -371,7 +371,7 @@ namespace bbtk
        std::string strcommand0         = "cd "+bbdoc_path+" && mkdir tmp && cd tmp";
 
        std::string strcommand1         = "cd "+bbdoc_path+"/tmp";
-    std::string strcommand2            = "\""+bin_path+"/bbi\" -n "+make_index_path;
+    std::string strcommand2            = "\""+bin_path+"/bbi\" -N "+make_index_path;
 #ifdef WIN32 
     std::string strcommand3            = "move index*.html ../.";
 #else
@@ -413,7 +413,7 @@ namespace bbtk
   bool WxGUIConsole::Show(bool show)
   {
     Wx::AutoDestroyTopWindow(!show);
-    wxFrame::Show(show);
+    return wxFrame::Show(show);
   }
   //================================================================