Merge pull request #2096 from pieleric/docs-fix-missing-getkeycode-snippet

docs: fix missing GetKeyCode() call in GetKeyCode() example
This commit is contained in:
Scott Talbert
2022-02-24 16:13:41 -05:00
committed by GitHub

View File

@@ -11,6 +11,7 @@
else:
# It's a special key, deal with all the known ones:
keycode = event.GetKeyCode()
if keycode in [wx.WXK_LEFT, wx.WXK_RIGHT]:
# move cursor ...
MoveCursor()