wxListCtrl GetItem() with column parameter

I am trying to set the text color of a list control item in column 1. The
documentation implies that this should work, but there seem to be no
examples of this in the demo, and I can't get it to work.

I believe (at least on Windows) that in a ListCtrl attributes like text
color for a row are based on the item in the 0th column, which is the item
you get if you don't specify a column in GetItem(). If you want to vary
text color by column in a row, I think you need to use a wxGrid.

Zatz, Steve wrote:

I am trying to set the text color of a list control item in column 1. The
documentation implies that this should work, but there seem to be no
examples of this in the demo, and I can't get it to work.

I believe (at least on Windows) that in a ListCtrl attributes like text
color for a row are based on the item in the 0th column,

Correct.

ยทยทยท

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