New wxTreeListCtrl patch

Hello list,
finally I found the time to play with wxPython again... sorry for the
huge delay, but here is a patch for the bugs reported in this thread:

A short summary:

- I don't see any segfaul with GetColumnWidth
- HitTest should now work
- Scrolling problems should be fixed
- all the EVT_COL_* events seem to work
- as for the missing Get* in wxTreeListItem, well, there's little need
for them, as the same info can be obtained with various Get* methods in
wxTreeListCtrl. Example: wxListItem has a GetBackgroundColour(), but
wxTreeListItem has not, because there's a GetItemBackgroundColour() which
takes an item id in wxTreeListCtrl. The same for all the others.

The patch is against the latest treelistctrl.cpp from CVS.

Cheers,
Alberto

treelistctrl.cpp.patch (3.5 KB)

Alberto Griggio wrote:

Hello list,
finally I found the time to play with wxPython again... sorry for the
huge delay, but here is a patch for the bugs reported in this thread:

Thanks! I'll get this checked in to CVS today.

ยทยทยท

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!