X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cf694132f1c28509a9f84377ce8d374bae4177ad..f0b0b7d4b803b59ead09d076402df3d5f2c10e2f:/utils/wxPython/demo/hangman.py diff --git a/utils/wxPython/demo/hangman.py b/utils/wxPython/demo/hangman.py index e5c4d05982..3f2c6da5c6 100644 --- a/utils/wxPython/demo/hangman.py +++ b/utils/wxPython/demo/hangman.py @@ -386,9 +386,11 @@ class MyFrame(wxFrame): def OnChar(self, event): if not self.in_progress: + #print "new" self.OnGameNew(None) return key = event.KeyCode(); + #print key if key >= ord('A') and key <= ord('Z'): key = key + ord('a') - ord('A') key = chr(key)