mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-04 19:10:09 +01:00
Merge pull request #2096 from pieleric/docs-fix-missing-getkeycode-snippet
docs: fix missing GetKeyCode() call in GetKeyCode() example
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user