From: John L. <jr...@us...> - 2006-05-14 01:49:13
|
Update of /cvsroot/wxlua/wxLua/apps/wxluafreeze/src In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv20100/wxLua/apps/wxluafreeze/src Modified Files: wxluafreeze.cpp Log Message: change EVT_LUA_CONSOLE to EVT_LUA_PRINT add simple wrapper for running sample using require don't link to lua libs in luamodule Index: wxluafreeze.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/apps/wxluafreeze/src/wxluafreeze.cpp,v retrieving revision 1.6 retrieving revision 1.7 diff -C2 -d -r1.6 -r1.7 *** wxluafreeze.cpp 14 Apr 2006 04:27:23 -0000 1.6 --- wxluafreeze.cpp 14 May 2006 01:49:10 -0000 1.7 *************** *** 76,80 **** BEGIN_EVENT_TABLE(wxLuaFreezeApp, wxApp) ! EVT_LUA_CONSOLE (wxID_ANY, wxLuaFreezeApp::OnLua) EVT_LUA_ERROR (wxID_ANY, wxLuaFreezeApp::OnLua) END_EVENT_TABLE() --- 76,80 ---- BEGIN_EVENT_TABLE(wxLuaFreezeApp, wxApp) ! EVT_LUA_PRINT (wxID_ANY, wxLuaFreezeApp::OnLua) EVT_LUA_ERROR (wxID_ANY, wxLuaFreezeApp::OnLua) END_EVENT_TABLE() *************** *** 249,253 **** OutputPrint(event.GetString()); ! //if (event.GetEventType() == wxEVT_LUA_CONSOLE) //else if (event.GetEventType() == wxEVT_LUA_ERROR) } --- 249,253 ---- OutputPrint(event.GetString()); ! //if (event.GetEventType() == wxEVT_LUA_PRINT) //else if (event.GetEventType() == wxEVT_LUA_ERROR) } |