[wxPython-users] text color of a tree item when selected

Robin Dunn robin at alldunn.com
Mon Dec 3 12:13:42 PST 2007


Pan Xingzhi wrote:
> Hi list,
> 
>     I didn't find how to set the text color of a tree item when it's 
> selected in TreeCtrl.
>     I set the text color to red. When selected it gets highlighted and 
> the text color turns white. It comes back when unselected.

The system preferences are always used for these colors, wx doesn't 
provide a way to override them.


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





More information about the wxpython-users mailing list