added (MSW-only) wxListCtrl::OnGetItemColumnAttr() (#10018)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58393 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2009-01-25 13:27:48 +00:00
parent d099c754b5
commit eab1336c90
3 changed files with 39 additions and 6 deletions

View File

@@ -873,10 +873,28 @@ protected:
The base class version always returns @NULL.
@see OnGetItemImage(), OnGetItemColumnImage(), OnGetItemText()
@see OnGetItemImage(), OnGetItemColumnImage(), OnGetItemText(),
OnGetItemColumnAttr()
*/
virtual wxListItemAttr* OnGetItemAttr(long item) const;
/**
This function may be overridden in the derived class for a control with
@c wxLC_VIRTUAL style.
It should return the attribute for the for the specified @a item and @a
column or @NULL to use the default appearance parameters.
The base class version returns @c OnGetItemAttr(item).
@note Currently this function is only called under wxMSW, the other
ports only support OnGetItemAttr()
@see OnGetItemAttr(), OnGetItemText(),
OnGetItemImage(), OnGetItemColumnImage(),
*/
virtual wxListItemAttr* OnGetItemColumnAttr(long item, long column) const;
/**
Overload this function in the derived class for a control with
@c wxLC_VIRTUAL and @c wxLC_REPORT styles in order to specify the image
@@ -885,7 +903,8 @@ protected:
The base class version always calls OnGetItemImage() for the first column, else
it returns -1.
@see OnGetItemText(), OnGetItemImage(), OnGetItemAttr()
@see OnGetItemText(), OnGetItemImage(), OnGetItemAttr(),
OnGetItemColumnAttr()
*/
virtual int OnGetItemColumnImage(long item, long column) const;