Update of /cvsroot/wxlua/wxLua/modules/wxlua/src
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv28335/wxLua/modules/wxlua/src
Modified Files:
wxlintrp.cpp
Log Message:
try to make the stack tree not segfault in wxLua app (still doesn't work)
no major changes
Index: wxlintrp.cpp
===================================================================
RCS file: /cvsroot/wxlua/wxLua/modules/wxlua/src/wxlintrp.cpp,v
retrieving revision 1.5
retrieving revision 1.6
diff -C2 -d -r1.5 -r1.6
*** wxlintrp.cpp 29 Nov 2005 05:45:09 -0000 1.5
--- wxlintrp.cpp 5 Dec 2005 06:11:14 -0000 1.6
***************
*** 262,266 ****
// FIXME - for select event types we don't want to do anything
wxEventType evtType = luaInterpreter->GetwxLuaState().GetInEventType();
! if ((evtType != -1))
//(evtType == wxEVT_IDLE) && (evtType == wxEVT_PAINT) &&
//(evtType == wxEVT_DESTROY) && (evtType == wxEVT_CLOSE_WINDOW))
--- 262,266 ----
// FIXME - for select event types we don't want to do anything
wxEventType evtType = luaInterpreter->GetwxLuaState().GetInEventType();
! if ((evtType != wxEVT_NULL))
//(evtType == wxEVT_IDLE) && (evtType == wxEVT_PAINT) &&
//(evtType == wxEVT_DESTROY) && (evtType == wxEVT_CLOSE_WINDOW))
|