//==========================================================================
// WITH WX
//==========================================================================
+#include "bbtkObject.h"
#include "bbtkInterpreter.h"
#include "bbtkWxBlackBox.h"
#include "bbtkWxGUIConsole.h"
static const wxCmdLineEntryDesc cmdLineDesc[] =
{
+ { wxCMD_LINE_SWITCH, _T("M"), _T("Memory debug"), _T("Display memory debug message on exit") },
{ wxCMD_LINE_SWITCH, _T("d"), _T("debug"), _T("Debug messages on (message All 9)") },
{ wxCMD_LINE_SWITCH, _T("c"), _T("command"), _T("turn to command line mode after file(s) processing") },
{ wxCMD_LINE_SWITCH, _T("q"), _T("quiet"), _T("be quiet") },
bool OnInit( );
int OnExit() {
// std::cout << "wxBBIApp::OnExit()"<<std::endl;
+ // bbtk::Object::PrintObjectListInfo();
return true; }
void OnInitCmdLine(wxCmdLineParser& parser);
bool OnCmdLineParsed(wxCmdLineParser& parser);
bool wxBBIApp::OnCmdLineParsed(wxCmdLineParser& parser)
{
+ if (parser.Found(_T("M")))
+ {
+ bbtk::StaticInitTime::PrintObjectListInfo = true;
+ }
+
debug = ( parser.Found(_T("d")) );
quiet = ( parser.Found(_T("q")) );
help = ( parser.Found(_T("h")) );