KeyCode --> GetKeyCode

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2006-10-03 21:32:20 +00:00
parent 2fd34892c1
commit fc12c1cb58

View File

@ -395,7 +395,7 @@ class MyFrame(wx.Frame):
#print "new"
self.OnGameNew(None)
return
key = event.KeyCode();
key = event.GetKeyCode();
#print key
if key >= ord('A') and key <= ord('Z'):
key = key + ord('a') - ord('A')