Exemple #1
0
 def onSetFocus(self, event):  # pylint: disable=W0613
     # Send a child focus event to let the AuiManager know we received focus
     # so it will activate our pane
     wx.PostEvent(self._main_win, wx.ChildFocusEvent(self._main_win))
     self.SetFocus()
Exemple #2
0
 def test_ChildFocusEvent_ctor(self):
     evt = wx.ChildFocusEvent()