Patch from Tim Kosse to add supoprt for wxListCtrl::OnGetItemColumnImage
which enables images to be specified for columns other than zero in virtual list controls. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37144 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -2718,6 +2718,17 @@ int wxListCtrl::OnGetItemImage (
|
||||
return -1;
|
||||
} // end of wxListCtrl::OnGetItemImage
|
||||
|
||||
int wxListCtrl::OnGetItemColumnImage (
|
||||
long lItem,
|
||||
long lColumn
|
||||
) const
|
||||
{
|
||||
if (!lColumn)
|
||||
return OnGetItemImage(lItem);
|
||||
|
||||
return -1;
|
||||
} // end of wxListCtrl::OnGetItemColumnImage
|
||||
|
||||
wxListItemAttr* wxListCtrl::OnGetItemAttr (
|
||||
long WXUNUSED_UNLESS_DEBUG(lItem)
|
||||
) const
|
||||
|
Reference in New Issue
Block a user