0

I'm trying to set a custom background for selected items in wxPython 2.8. I cannot figure out how to do so. I've tried SetItemBackground with no luck.

blitzmann
  • 7,319
  • 5
  • 23
  • 29
  • Similar/ related: http://stackoverflow.com/questions/22767484/is-it-possible-to-change-the-colour-of-the-focus-selector-of-a-listctrl, as pointed out by @vz – isync Apr 01 '14 at 16:36

1 Answers1

0

Selected items in wxListCtrl, wxListBox and so on always use the system background selection colour, it can't be changed.

VZ.
  • 21,740
  • 3
  • 39
  • 42