From: John L. <jr...@us...> - 2009-06-01 22:28:32
|
Update of /cvsroot/wxlua/wxLua/apps/wxlua/src In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv9876/wxLua/apps/wxlua/src Modified Files: wxlua.cpp Log Message: Fix running files with spaces in their names. Index: wxlua.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/apps/wxlua/src/wxlua.cpp,v retrieving revision 1.56 retrieving revision 1.57 diff -C2 -d -r1.56 -r1.57 *** wxlua.cpp 6 Jan 2009 21:17:18 -0000 1.56 --- wxlua.cpp 1 Jun 2009 22:28:29 -0000 1.57 *************** *** 64,71 **** wxCMD_LINE_VAL_NONE, wxCMD_LINE_PARAM_OPTIONAL }, ! { wxCMD_LINE_SWITCH, wxT("m"), wxT("msgdlg"), wxT("Print output to a message dialog."), wxCMD_LINE_VAL_NONE, wxCMD_LINE_PARAM_OPTIONAL }, ! { wxCMD_LINE_SWITCH, wxT("c"), wxT("console"), wxT("Print output to a persistent message console."), wxCMD_LINE_VAL_NONE, wxCMD_LINE_PARAM_OPTIONAL }, --- 64,71 ---- wxCMD_LINE_VAL_NONE, wxCMD_LINE_PARAM_OPTIONAL }, ! { wxCMD_LINE_SWITCH, wxT("m"), wxT("msgdlg"), wxT("Print output to message dialogs."), wxCMD_LINE_VAL_NONE, wxCMD_LINE_PARAM_OPTIONAL }, ! { wxCMD_LINE_SWITCH, wxT("c"), wxT("console"), wxT("Print output to a message console."), wxCMD_LINE_VAL_NONE, wxCMD_LINE_PARAM_OPTIONAL }, *************** *** 365,368 **** --- 365,369 ---- } + void wxLuaStandaloneApp::DisplayMessage(const wxString &msg, bool is_error, const wxLuaState& wxlState) |