Program: bbtk
Module: $RCSfile: bbtkWxConsole.cxx,v $
Language: C++
- Date: $Date: 2008/03/10 12:28:43 $
- Version: $Revision: 1.11 $
+ Date: $Date: 2008/03/11 12:27:21 $
+ Version: $Revision: 1.12 $
Copyright (c) CREATIS (Centre de Recherche et d'Applications en Traitement de
l'Image). All rights reserved. See Doc/License.txt or
//================================================================
void WxConsole::CommandString(wxString line )
{
-printf("WxConsole::CommandString 01 \n");
+ //printf("WxConsole::CommandString 01 \n");
wxString s = _T("> ") + line + _T("\n");
mwxTextHistoryAttr->SetTextColour(*wxRED);
mwxTextHistory->SetDefaultStyle(*mwxTextHistoryAttr);
mwxTextHistory->AppendText(s);
// send to standard console also
-printf("WxConsole::CommandString 02 \n");
- printf("%s",wx2std(s).c_str());
+ //printf("WxConsole::CommandString 02 \n");
+ // printf("%s",wx2std(s).c_str());
//EED mwxTextCommand->Clear();
mwxTextCommand->SetValue(_T(""));
mwxTextCommand->Append(line);
mwxTextHistoryAttr->SetTextColour(*wxBLACK);
mwxTextHistory->SetDefaultStyle(*mwxTextHistoryAttr);
-printf("WxConsole::CommandString 03 \n");
+ //printf("WxConsole::CommandString 03 \n");
try
{
bool insideComment = false;
-printf("WxConsole::CommandString 04 \n");
+ //printf("WxConsole::CommandString 04 \n");
mInterpreter->InterpretLine( wx2std(line), insideComment );
-printf("WxConsole::CommandString 05 \n");
+ //printf("WxConsole::CommandString 05 \n");
}
catch (bbtk::QuitException)
{
std::cout << "* UNDEFINED ERROR (not a bbtk nor a std exception)"
<< std::endl;
}
-printf("WxConsole::CommandString 06 \n");
+ //printf("WxConsole::CommandString 06 \n");
}
//================================================================