added support for item attributes in virtual list control
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10972 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -185,14 +185,16 @@ protected:
|
||||
// return the icon for the given item
|
||||
virtual int OnGetItemImage(long item) const;
|
||||
|
||||
// return the attribute for the item (may return NULL if none)
|
||||
virtual wxListItemAttr *OnGetItemAttr(long item) const;
|
||||
|
||||
// it calls our OnGetXXX() functions
|
||||
|
||||
friend class WXDLLEXPORT wxListMainWindow;
|
||||
|
||||
private:
|
||||
// Virtual function hiding supression
|
||||
void Update(void)
|
||||
{ wxWindowBase::Update(); }
|
||||
virtual void Update() { wxWindowBase::Update(); }
|
||||
|
||||
// create the header window
|
||||
void CreateHeaderWindow();
|
||||
|
Reference in New Issue
Block a user