Mike Driscoll
1/14/2008 6:32:00 PM
On Jan 13, 9:22 am, Massi <massi_...@msn.com> wrote:
> Hi everyone! In my application (under windows) I'm using a
> wx.checklistbox. I would like the background color of an item to
> become red whenever an EVT_LISTBOX_DCLICK occurs. Is there any simple
> way to achieve it?
> Thanks in advance.
Did you try chkbox.SetBackgroundColor('SomeColor') ?
That might work, but I think that will just set the entire control's
background to the color passed in. You're welcome to give it a try,
though.
Also, I would recommend posting this query to the wxpython's user
group, which you can find at the wxPython website: www.wxpython.org
Mike