]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/wx/py/shell.py
added --enable-tga (on by default)
[wxWidgets.git] / wxPython / wx / py / shell.py
index c86ced152d88d50d8e0d5498df966302e1c2aa18..fe60b38221bd8c3dc6a8a3ff8b160390d1c713d9 100644 (file)
@@ -417,7 +417,7 @@ Platform: %s""" % \
         # commands/responses.
         if not self.CanEdit():
             return
-        key = event.KeyCode()
+        key = event.GetKeyCode()
         currpos = self.GetCurrentPos()
         stoppos = self.promptPosEnd
         # Return (Enter) needs to be ignored in this handler.
@@ -452,7 +452,7 @@ Platform: %s""" % \
     def OnKeyDown(self, event):
         """Key down event handler."""
 
-        key = event.KeyCode()
+        key = event.GetKeyCode()
         # If the auto-complete window is up let it do its thing.
         if self.AutoCompActive():
             event.Skip()