setting text colour in treeCtrl using wx.lib.colourdb

Hi list,

my apologies if this has been asked before, but I have searched the
archives with no luck.

Platform: Windows XP
Python: 2.4.2
wxPython: 2.6.2.1

I tried to use some of the colours from wx.lib.colourdb to set the text in
a treeCtr, but can't get it work. I always get black text colour, no matter
what.

import wx
import wx.lib.colourdb
...
    self.colourList = wx.lib.colourdb.getColourList()
    ...
    self.tucker1Plot_tree.SetItemTextColour(child, self.colourList[X]) #
where X is a number between 0 and 629

It works fine when replacing 'self.colourList[X]' with any of the colours
of wx.Colour (that is, wx.RED, wx.BLUE, etc).

Thanks in advance for your help

cheers
Oliver