[wxPython] wxListControl color problem on windows...

Hi, I am using the wxListCtrl to diplay lines of varing color, which works just fine

until I insert a new line (Line 0), then all lines loose their color and change to white.

This only happens on Windows, no problem on Linux…

Has anyone else seen this?

Roger

Hi, I am using the wxListCtrl to diplay lines of varing color, which
works just fine until I insert a new line (Line 0), then all lines
loose their color and change to white.

This only happens on Windows, no problem on Linux...

Has anyone else seen this?

I think I've seen something similar. IIRC, If a list control is sorted then
the colours stay on the orginal line they were on instead of moving with the
items they were associated with.

Not yet. Do you have any (simple!) example code showing this?

Go to the listctrl sample, hit F2 to go into report mode, then Ctrl-S to
sort. Items move, colours stay.

BTW, it looks like there might be another bug here as it doesn't actually go
into report mode, but looks like wxLC_LIST mode. I'll do a quick rebuild to
make sure it's not something screwy on my end.

···

From: "Vadim Zeitlin" <Vadim.zeitlin@dptmaths.ens-cachan.fr>

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

_______________________________________________
wxPython-users mailing list
wxPython-users@lists.sourceforge.net
http://lists.sourceforge.net/lists/listinfo/wxpython-users