Update of /cvsroot/wxlua/wxLua/modules/wxlua/src
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv31140/wxLua/modules/wxlua/src
Modified Files:
wxlstate.cpp
Log Message:
add more docs
add LuaDoString to math the other LuaDo functions
rename EVT_LUA_CONSOLE to EVT_LUA_PRINT but use #defines for backwards compat
Index: wxlstate.cpp
===================================================================
RCS file: /cvsroot/wxlua/wxLua/modules/wxlua/src/wxlstate.cpp,v
retrieving revision 1.66
retrieving revision 1.67
diff -C2 -d -r1.66 -r1.67
*** wxlstate.cpp 13 May 2006 21:05:36 -0000 1.66
--- wxlstate.cpp 14 May 2006 00:40:56 -0000 1.67
***************
*** 190,194 ****
if (wxlState.Ok())
{
! wxLuaEvent event(wxEVT_LUA_CONSOLE, wxlState.GetId(), wxlState);
event.SetString(msg);
wxlState.SendEvent( event );
--- 190,194 ----
if (wxlState.Ok())
{
! wxLuaEvent event(wxEVT_LUA_PRINT, wxlState.GetId(), wxlState);
event.SetString(msg);
wxlState.SendEvent( event );
***************
*** 3495,3499 ****
DEFINE_LOCAL_EVENT_TYPE(wxEVT_LUA_CREATION)
! DEFINE_LOCAL_EVENT_TYPE(wxEVT_LUA_CONSOLE)
DEFINE_LOCAL_EVENT_TYPE(wxEVT_LUA_ERROR)
DEFINE_LOCAL_EVENT_TYPE(wxEVT_LUA_DEBUG_HOOK)
--- 3495,3499 ----
DEFINE_LOCAL_EVENT_TYPE(wxEVT_LUA_CREATION)
! DEFINE_LOCAL_EVENT_TYPE(wxEVT_LUA_PRINT)
DEFINE_LOCAL_EVENT_TYPE(wxEVT_LUA_ERROR)
DEFINE_LOCAL_EVENT_TYPE(wxEVT_LUA_DEBUG_HOOK)
|