I have not found a way of sub-classing wxTextCtrl.
Just do it normally... I'll show you the fix in response to your other
mail. It's a head-smacker.
Without sub-classing how can one capture the Kill
Focus event?
The nice thing about python is you don't have to subclass to catch an event.
You can give any callable object to the EVT_ functions, they don't have to
members of the object where the event happens.
So this means you can do things like these:
In a subclass of the text control:
EVT_KILL_FOCUS(self, self.OnKillFocus)
In a panel that has a text control:
EVT_KILL_FOCUS(myTextCtrl, self.OnTCKillFocus)