Skip to content

Instantly share code, notes, and snippets.

@batok
Created January 23, 2009 20:52
Show Gist options
  • Save batok/51185 to your computer and use it in GitHub Desktop.
Save batok/51185 to your computer and use it in GitHub Desktop.
def OnKeyDown(self, evt):
try:
mykey = evt.KeyCode()
except:
mykey = evt.GetKeyCode()
if mykey == wx.WXK_F6:
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment