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
//================================================================
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;
}
//================================================================
//================================================================
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;
}
//================================================================