Add supoprt for wxListCtrl::OnGetItemColumnImage

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@37148 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2006-01-26 00:31:31 +00:00
parent 08a175cec7
commit e280c9ca95
3 changed files with 63 additions and 3 deletions

View File

@@ -25,7 +25,7 @@ wx.EventLoop is now implemented for wxMac.
2.6.2.2
2.6.3.0
-------
Change the wx.ListCtrl InsertStringItem wrapper to use the form that
@@ -35,7 +35,11 @@ the native control doesn't use one anyway.
wxMSW: wx.ListCtrl in report mode is now able to support images in
other columns besides the first one. Simply pass an image index to
SetStringItem.
SetStringItem. For virtual list controls you can specify the image to
use on the extra columns by overriding OnGetItemColumnImage in your
derived class. It is passed the item number and the column number as
parameters, and the default version simply calls OnGetItemImage for
column zero, or returns -1 for other columns.