From: John L. <jr...@us...> - 2006-09-08 22:43:50
|
Update of /cvsroot/wxlua/wxLua/modules/wxluadebug/include In directory sc8-pr-cvs9.sourceforge.net:/tmp/cvs-serv26661/wxLua/modules/wxluadebug/include Modified Files: staktree.h wxldebug.h Log Message: add a few wxArray functions to wxLuaDebugData to make it easier to use use enum instead of define for wxwindow ids Index: staktree.h =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxluadebug/include/staktree.h,v retrieving revision 1.11 retrieving revision 1.12 diff -C2 -d -r1.11 -r1.12 *** staktree.h 7 Sep 2006 22:42:19 -0000 1.11 --- staktree.h 8 Sep 2006 22:43:46 -0000 1.12 *************** *** 26,38 **** // ---------------------------------------------------------------------------- ! #define ID_WXLUA_STACKDIALOG 2000 ! #define ID_WXLUA_STACKDIALOG_COMBO 2001 ! #define ID_WXLUA_STACKDIALOG_SCRWIN 2002 ! #define ID_WXLUA_STACKDIALOG_SPLITWIN 2003 ! #define ID_WXLUA_STACKDIALOG_STACKTREE 2004 ! #define ID_WXLUA_STACKDIALOG_VALUE_SPLITWIN 2005 ! #define ID_WXLUA_STACKDIALOG_VALUE_WIN1 2006 ! #define ID_WXLUA_STACKDIALOG_VALUE_WIN2 2007 ! #define ID_WXLUA_STACKDIALOG_DISMISS_BUTTON 2008 // ---------------------------------------------------------------------------- --- 26,41 ---- // ---------------------------------------------------------------------------- ! enum ! { ! ID_WXLUA_STACKDIALOG = 2000, ! ID_WXLUA_STACKDIALOG_COMBO, ! ID_WXLUA_STACKDIALOG_SCRWIN, ! ID_WXLUA_STACKDIALOG_SPLITWIN, ! ID_WXLUA_STACKDIALOG_STACKTREE, ! ID_WXLUA_STACKDIALOG_VALUE_SPLITWIN, ! ID_WXLUA_STACKDIALOG_VALUE_WIN1, ! ID_WXLUA_STACKDIALOG_VALUE_WIN2, ! ID_WXLUA_STACKDIALOG_DISMISS_BUTTON ! }; // ---------------------------------------------------------------------------- Index: wxldebug.h =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxluadebug/include/wxldebug.h,v retrieving revision 1.21 retrieving revision 1.22 diff -C2 -d -r1.21 -r1.22 *** wxldebug.h 7 Sep 2006 22:42:19 -0000 1.21 --- wxldebug.h 8 Sep 2006 22:43:46 -0000 1.22 *************** *** 76,81 **** // wxLuaDebugData - a wxObject ref counted container for a wxLuaDebugDataItemArray // The Ref data is always expected to exist and the destructor deletes the array items - // This is supposed to be a minimal class so all array operations are though the - // member functions GetDataArray(). // ---------------------------------------------------------------------------- --- 76,79 ---- *************** *** 87,92 **** // Get the data array ! wxLuaDebugDataItemArray& GetDataArray(); ! const wxLuaDebugDataItemArray& GetDataArray() const; // fill this with the stack entries for the wxLuaState --- 85,95 ---- // Get the data array ! wxLuaDebugDataItemArray& GetArray(); ! const wxLuaDebugDataItemArray& GetArray() const; ! ! // wxArray functions mapped to the internal array w/ error checking ! size_t GetCount() const; ! wxLuaDebugDataItem* Item(size_t index) const; ! void Add(wxLuaDebugDataItem* item); // fill this with the stack entries for the wxLuaState |