KeyCode --> GetKeyCode
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -395,7 +395,7 @@ class MyFrame(wx.Frame):
|
|||||||
#print "new"
|
#print "new"
|
||||||
self.OnGameNew(None)
|
self.OnGameNew(None)
|
||||||
return
|
return
|
||||||
key = event.KeyCode();
|
key = event.GetKeyCode();
|
||||||
#print key
|
#print key
|
||||||
if key >= ord('A') and key <= ord('Z'):
|
if key >= ord('A') and key <= ord('Z'):
|
||||||
key = key + ord('a') - ord('A')
|
key = key + ord('a') - ord('A')
|
||||||
|
Reference in New Issue
Block a user