#include "wx/textctrl.h"
-class WXDLLEXPORT wxImageList;
+class WXDLLIMPEXP_FWD_CORE wxImageList;
typedef int (wxCALLBACK *wxListCtrlCompare)(long lItem1, long lItem2, long lSortData);
,int nImage
,int lSelImage
);
+ bool SetItemColumnImage( long lItem
+ ,long lColumn
+ ,int nImage
+ );
//
// Item text
// Item data
//
long GetItemData(long lItem) const;
- bool SetItemData( long lItem
- ,long lData
- );
+ bool SetItemPtrData(long item, wxUIntPtr data);
+ bool SetItemData(long item, long data) { return SetItemPtrData(item, data); }
//
// Gets the item rectangle
) const;
//
- // Return the icon for the given item
+ // Return the icon for the given item. In report view, OnGetItemImage will
+ // only be called for the first column. See OnGetItemColumnImage for
+ // details.
//
virtual int OnGetItemImage(long lItem) const;
+ //
+ // Return the icon for the given item and column
+ //
+ virtual int OnGetItemColumnImage(long lItem, long lColumn) const;
+
//
// Return the attribute for the item (may return NULL if none)
//