[[wxPython] Does EVT_KILL_FOCUS being captured in wxPanel?]

wxPanel allmost never has focus. Focus is in one of its widgets.
Try EVT_CLOSE.

Niki Spahiev
e-mail: niki@vintech.bg

···

Jimmie Teoh <jimmie@wijojo.com.au> wrote:

I've implemented a class PanelX which inherited from wxPanel.
I wanna capture the lost focus event of this PanelX.

But whether I've explicitly binded the event with the method
[wx.EVT_KILL_FOCUS(self.myForm, self.OnLoseFocus)]
or not (i.e. just overwriting the OnKillFocus method),
OnKillFocus/OnLoseFocus is not being called at all. I've placed a print
statement in it.

____________________________________________________________________
Get free email and a permanent address at Net@ddress Mail