title: UltimateListCtrl set method not working
body: <p>I'm working with <code>wxPython</code> and I'm trying to set the background colour of a specific item in <code>UltimateListCtrl</code>. When I set the text for a specific item, like this:</p>
  
  <pre><code>list.SetItemText(1,"something")
  </code></pre>
  
  <p>This works without any problem. However, when I try the same with <code>SetItemBackgroundColour</code>, for example, like this:</p>
  
  <pre><code>list.SetItemBackgroundColour(1,'#0000FF')
  </code></pre>
  
  <p>I get a strange error that I don't know how to fix:</p>
  
  <pre><code>Traceback (most recent call last):
    File "C:\Program Files\DeVIDE-RE\python\lib\site-packages\wx-2.8-msw-unicode\w
  x\lib\agw\ultimatelistctrl.py", line 6891, in OnPaint
      enabled = theLine.GetItem(0, CreateListItem(line, 0)).IsEnabled()
    File "C:\Program Files\DeVIDE-RE\python\lib\site-packages\wx-2.8-msw-unicode\w
  x\lib\agw\ultimatelistctrl.py", line 4000, in GetItem
      return item.GetItem(info)
    File "C:\Program Files\DeVIDE-RE\python\lib\site-packages\wx-2.8-msw-unicode\w
  x\lib\agw\ultimatelistctrl.py", line 3079, in GetItem
      if self._attr.HasTextColour():
    File "C:\Program Files\DeVIDE-RE\python\lib\site-packages\wx-2.8-msw-unicode\w
  x\lib\agw\ultimatelistctrl.py", line 1183, in HasTextColour
      return self._colText.Ok()
  AttributeError: 'str' object has no attribute 'Ok'
  </code></pre>
  
  <p>Which is really strange because <code>SetItemText</code> works fine. I checked the <a href="http://wxpython.org/Phoenix/docs/html/lib.agw.ultimatelistctrl.UltimateListCtrl.html" rel="nofollow">documentation</a> but I could not understand why it's not working.</p>
  
  <p>Any suggestions?</p>