Update of /cvsroot/wxlua/wxLua/modules/wxlua/src
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv8247/wxLua/modules/wxlua/src
Modified Files:
wxlstate.cpp
Log Message:
subclass the wxProcess in the debugger so we don't have to send an event
fixes crashes when an error occurs in the debugger's lua program
test compile lua programs before running or debugging to catch syntax errors
Index: wxlstate.cpp
===================================================================
RCS file: /cvsroot/wxlua/wxLua/modules/wxlua/src/wxlstate.cpp,v
retrieving revision 1.80
retrieving revision 1.81
diff -C2 -d -r1.80 -r1.81
*** wxlstate.cpp 7 Dec 2006 01:22:02 -0000 1.80
--- wxlstate.cpp 8 Dec 2006 06:16:17 -0000 1.81
***************
*** 1141,1145 ****
if ( (top == lua_gettop(L)) || !lua_islightuserdata(L, -1) )
{
- wxPrintf(wxT("wxLuaStateRefData::GetLuaStateRefData FAILED!\n"));
lua_settop( L, top );
return NULL;
--- 1141,1144 ----
|