From: John L. <jr...@us...> - 2007-06-18 19:51:41
|
Update of /cvsroot/wxlua/wxLua/modules/wxlua/src In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv21463/wxLua/modules/wxlua/src Modified Files: wxlbind.cpp Log Message: Add more classes from 2.8, wxStandardPaths, wxToolbook, wxTreebook... Index: wxlbind.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxlua/src/wxlbind.cpp,v retrieving revision 1.77 retrieving revision 1.78 diff -C2 -d -r1.77 -r1.78 *** wxlbind.cpp 16 Jun 2007 06:21:46 -0000 1.77 --- wxlbind.cpp 18 Jun 2007 19:51:38 -0000 1.78 *************** *** 259,268 **** wxCHECK_MSG(wxlState.Ok(), 0, wxT("Invalid wxLuaState")); ! key = (long)wxlua_ttouserdata(L, 1, true); wxCHECK_MSG(key != 0, 0, wxT("NULL user data in wxluabind_garbageCollect")); ! wxlState.RemoveTrackedObject((void*)key, true); ! wxlua_removederivedmethod(L, (void*)key); } --- 259,268 ---- wxCHECK_MSG(wxlState.Ok(), 0, wxT("Invalid wxLuaState")); ! void* key = wxlua_ttouserdata(L, 1, true); wxCHECK_MSG(key != 0, 0, wxT("NULL user data in wxluabind_garbageCollect")); ! wxlState.RemoveTrackedObject(key, true); ! wxlua_removederivedmethod(L, key); } |