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
//================================================================
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();
//================================================================
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);
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
bool WxGUIConsole::Show(bool show)
{
Wx::AutoDestroyTopWindow(!show);
- wxFrame::Show(show);
+ return wxFrame::Show(show);
}
//================================================================