I am trying to disable only one item in a listbox with wxpython. I already searched in the Internet for a way to do this, but I found nothing...
I hope you can give me a hint!
I don't think there's a direct way to do this, so the only way would be to do it by hand: catch click events, use the HitTest to find which item was selected, and then ignore the event if it's the "deactivated" item.  (Tree Controls have the EVT_TREE_SEL_CHANGING which would be useful here, but there's no analog for a ListBox afaik.)
Disable only one item in a wxpython.listbox