projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
wxDisplay build fix for missing Direct Draw.
[wxWidgets.git]
/
wxPython
/
demo
/
Wizard.py
diff --git
a/wxPython/demo/Wizard.py
b/wxPython/demo/Wizard.py
index 697fe9c2d041dd487fb24433e20f8860ff8ee39f..4ea5dbcc42b75549e718b4e0c31bd6d17ebe77b8 100644
(file)
--- a/
wxPython/demo/Wizard.py
+++ b/
wxPython/demo/Wizard.py
@@
-10,8
+10,8
@@
def makePageTitle(wizPg, title):
wizPg.SetSizer(sizer)
title = wx.StaticText(wizPg, -1, title)
title.SetFont(wx.Font(18, wx.SWISS, wx.NORMAL, wx.BOLD))
wizPg.SetSizer(sizer)
title = wx.StaticText(wizPg, -1, title)
title.SetFont(wx.Font(18, wx.SWISS, wx.NORMAL, wx.BOLD))
- sizer.Add
Window
(title, 0, wx.ALIGN_CENTRE|wx.ALL, 5)
- sizer.Add
Window
(wx.StaticLine(wizPg, -1), 0, wx.EXPAND|wx.ALL, 5)
+ sizer.Add(title, 0, wx.ALIGN_CENTRE|wx.ALL, 5)
+ sizer.Add(wx.StaticLine(wizPg, -1), 0, wx.EXPAND|wx.ALL, 5)
return sizer
#----------------------------------------------------------------------
return sizer
#----------------------------------------------------------------------
@@
-237,5
+237,5
@@
it is important to keep them as simple as possible.
if __name__ == '__main__':
import sys,os
import run
if __name__ == '__main__':
import sys,os
import run
- run.main(['', os.path.basename(sys.argv[0])])
+ run.main(['', os.path.basename(sys.argv[0])]
+ sys.argv[1:]
)