X-Git-Url: https://git.creatis.insa-lyon.fr/pubgit/?a=blobdiff_plain;f=kernel%2Fsrc%2FbbtkWxGUIConsole.cxx;h=e19fb0e8f97e1f55e28c0f3ffeab28f75e9f29b9;hb=80db068a0e88b475ca866c0e5a9ae82a7bda7f90;hp=f1b347ee8fa172a17cd485398dd370a1f5b4f29a;hpb=7a26044dd46cb80ab90ee1f63d3b4d8ce52b2d39;p=bbtk.git diff --git a/kernel/src/bbtkWxGUIConsole.cxx b/kernel/src/bbtkWxGUIConsole.cxx index f1b347e..e19fb0e 100644 --- a/kernel/src/bbtkWxGUIConsole.cxx +++ b/kernel/src/bbtkWxGUIConsole.cxx @@ -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 : '"<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); } //================================================================