1. class AddButton(wx.Button):
  2.     def AcceptsFocusFromKeyboard(self):
  3.         return False