From: John L. <jr...@us...> - 2007-05-21 01:08:33
|
Update of /cvsroot/wxlua/wxLua/modules/wxluadebug/src In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv14147/wxLua/modules/wxluadebug/src Modified Files: staktree.cpp Log Message: Remove all code in dservice as it wasn't used Removed m_pDerivedList and put derived lua functions into the lua registry index A little more cleanup in the socket and editor.wx.lua code. Index: staktree.cpp =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxluadebug/src/staktree.cpp,v retrieving revision 1.37 retrieving revision 1.38 diff -C2 -d -r1.37 -r1.38 *** staktree.cpp 19 Mar 2007 03:47:21 -0000 1.37 --- staktree.cpp 21 May 2007 01:07:59 -0000 1.38 *************** *** 258,262 **** wxCHECK_RET(wxlState.Ok(), wxT("Invalid wxLuaState")); - int derivedCount = wxlState.GetLuaStateData()->m_pDerivedList.size(); int trackedCount = wxlState.GetTrackedObjects()->size(); int callbackCount = wxlState.GetTrackedCallbackList()->GetCount(); --- 258,261 ---- *************** *** 264,268 **** int destroyCount = wxlState.GetTrackedWinDestroyCallbackList()->GetCount(); - wxLuaDebugDataItem* derivedItem = new wxLuaDebugDataItem(_("Derived List"), wxT("wxLuaData"), wxString::Format(wxT("%d"), derivedCount), wxT(""), LUA_NOREF, 0); wxLuaDebugDataItem* trackedItem = new wxLuaDebugDataItem(_("Tracked List"), wxT("wxLuaData"), wxString::Format(wxT("%d"), trackedCount), wxT(""), LUA_NOREF, 0); wxLuaDebugDataItem* callbackItem = new wxLuaDebugDataItem(_("Event Callback List"), wxT("wxLuaData"), wxString::Format(wxT("%d"), callbackCount), wxT(""), LUA_NOREF, 0); --- 263,266 ---- *************** *** 272,277 **** wxTreeItemId treeNode; - treeControl->AppendItem(rootItem, wxT("Derived List"), 1, 1, derivedItem); - treeNode = treeControl->AppendItem(rootItem, wxT("Tracked List"), 1, 1, trackedItem); if (trackedCount > 0) m_treeControl->SetItemHasChildren(treeNode); --- 270,273 ---- |