projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix for longlongHash for architectures where sizeof(long long) == sizeof(long)
[wxWidgets.git]
/
wxPython
/
demo
/
run.py
diff --git
a/wxPython/demo/run.py
b/wxPython/demo/run.py
index f27591bc7144a9bb36e67c08b1a933bbf4611d26..d0734b6c97e819414b8cdf6ac1b43277cd29b3da 100755
(executable)
--- a/
wxPython/demo/run.py
+++ b/
wxPython/demo/run.py
@@
-21,7
+21,7
@@
import wx # This module uses the new wx namespace
import sys, os
# stuff for debugging
import sys, os
# stuff for debugging
-print "wx.VERSION_STRING =
", wx.VERSION_STRING
+print "wx.VERSION_STRING =
%s (%s)" % (wx.VERSION_STRING, wx.USE_UNICODE and 'unicode' or 'ansi')
print "pid:", os.getpid()
##raw_input("Press Enter...")
print "pid:", os.getpid()
##raw_input("Press Enter...")
@@
-58,8
+58,8
@@
class RunDemoApp(wx.App):
menuBar = wx.MenuBar()
menu = wx.Menu()
menuBar = wx.MenuBar()
menu = wx.Menu()
- item = menu.Append(-1, "E&xit\t
Alt-X
", "Exit demo")
- self.Bind(wx.EVT_MENU, self.OnExit, item)
+ item = menu.Append(-1, "E&xit\t
Ctrl-Q
", "Exit demo")
+ self.Bind(wx.EVT_MENU, self.OnExit
App
, item)
menuBar.Append(menu, "&File")
ns = {}
menuBar.Append(menu, "&File")
ns = {}
@@
-115,7
+115,7
@@
class RunDemoApp(wx.App):
return True
return True
- def OnExit(self, evt):
+ def OnExit
App
(self, evt):
self.frame.Close(True)
self.frame.Close(True)