Update of /cvsroot/wxlua/wxLua/modules/wxluadebug/src
In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv6007/wxLua/modules/wxluadebug/src
Modified Files:
wxldebug.cpp
Log Message:
Fix typos in comments
Only need wxWindow = wxLuaWinDestroyCallback in the wxlua_lreg_windestroycallbacks_key table
Index: wxldebug.cpp
===================================================================
RCS file: /cvsroot/wxlua/wxLua/modules/wxluadebug/src/wxldebug.cpp,v
retrieving revision 1.63
retrieving revision 1.64
diff -C2 -d -r1.63 -r1.64
*** wxldebug.cpp 22 Dec 2007 16:42:01 -0000 1.63
--- wxldebug.cpp 4 Jan 2008 00:21:08 -0000 1.64
***************
*** 376,381 ****
value = s.AfterFirst(wxT('|'));
}
! else if ((lightuserdata_reg_key == &wxlua_lreg_windestroycallbacks_key) &&
! (lua_type(L, -1) == LUA_TLIGHTUSERDATA))
{
// only handle t[wxWindow*] = wxLuaWinDestroyCallback*
--- 376,380 ----
value = s.AfterFirst(wxT('|'));
}
! else if (lightuserdata_reg_key == &wxlua_lreg_windestroycallbacks_key)
{
// only handle t[wxWindow*] = wxLuaWinDestroyCallback*
|