]> git.saurik.com Git - wxWidgets.git/commitdiff
KeyCode --> GetKeyCode
authorRobin Dunn <robin@alldunn.com>
Tue, 3 Oct 2006 21:32:20 +0000 (21:32 +0000)
committerRobin Dunn <robin@alldunn.com>
Tue, 3 Oct 2006 21:32:20 +0000 (21:32 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41611 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

wxPython/samples/hangman/hangman.py

index fcf555e1757ac3b79daa7d716191234f7530689b..bde822cc9672eb589ea21d79c27992f7039fd4f3 100644 (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')