From: John L. <jr...@us...> - 2009-11-23 05:29:09
|
Update of /cvsroot/wxlua/wxLua/modules/wxluadebug/include In directory 23jxhf1.ch3.sourceforge.com:/tmp/cvs-serv28770/wxLua/modules/wxluadebug/include Modified Files: wxlstack.h Log Message: Some cleanup for the wxLuaStackDialog Fix showing local variable tables Index: wxlstack.h =================================================================== RCS file: /cvsroot/wxlua/wxLua/modules/wxluadebug/include/wxlstack.h,v retrieving revision 1.20 retrieving revision 1.21 diff -C2 -d -r1.20 -r1.21 *** wxlstack.h 21 Nov 2009 20:24:02 -0000 1.20 --- wxlstack.h 23 Nov 2009 05:28:59 -0000 1.21 *************** *** 157,167 **** }; - // Draw the string centered in the bitmap virtual wxBitmap CreateBmpString(const wxBitmap& bmp, const wxString& s); // Get the IMG_XXX enum to use for this dataitem ! virtual int GetItemImage(const wxLuaDebugItem *dbgItem); // Get the string to show in the wxListCtrl virtual wxString GetItemText(long item, long column, bool exact_value = false); // Override these functions if you need to provide an alternate way to get --- 157,173 ---- }; // Draw the string centered in the bitmap virtual wxBitmap CreateBmpString(const wxBitmap& bmp, const wxString& s); // Get the IMG_XXX enum to use for this dataitem ! virtual int GetItemImage(const wxLuaDebugItem *dbgItem) const; // Get the string to show in the wxListCtrl virtual wxString GetItemText(long item, long column, bool exact_value = false); + // Get the image to show for the column in the wxListCtrl + virtual int GetItemColumnImage(long item, long column) const; + // Get the attribute to use for the wxListCtrl + virtual wxListItemAttr* GetItemAttr(long item) const; + + // Select one of the stack levels after calling EnumerateStack() + void SelectStack(int stack_sel); // Override these functions if you need to provide an alternate way to get *************** *** 194,198 **** // Handle and set the stack from the stack combo selection void OnSelectStack(wxCommandEvent &event); - void SelectStack(int stack_sel); // Handle all wxTreeCtrl events void OnTreeItem(wxTreeEvent &event); --- 200,203 ---- *************** *** 235,238 **** --- 240,245 ---- int m_img_font_size; + wxListItemAttr m_itemAttr; // reusable attr for the wxListCtrl + bool m_show_dup_expand_msg; int m_batch_count; |