问题
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.
回答1:
Selected items in wxListCtrl
, wxListBox
and so on always use the system background selection colour, it can't be changed.
来源:https://stackoverflow.com/questions/22624070/setting-selection-background-in-listctrl