I have a small panel with just two buttons, and I would like to trap the evt_killfocus from the last button, but if I don't insert the a_txt_trapfocus (see code line 82) invisible textctrl after the last button, I don't get the evt_killfocus fired when I press TAB key, the focus stays inside the button.
Is it because of the wx.notebook parent? is there a way to fix it without adding the extra hidden control?
I have a small panel with just two buttons, and I would like to trap the evt_killfocus from the last button, but if I don't insert the a_txt_trapfocus (see code line 82) invisible textctrl after the last button, I don't get the evt_killfocus fired when I press TAB key, the focus stays inside the button.
Is it because of the wx.notebook parent? is there a way to fix it without adding the extra hidden control?