fix usage of wrong wx.Font ctor

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxPython/Phoenix/trunk@73918 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2013-05-04 22:26:02 +00:00
parent 78303a24d0
commit 31ecbfd79c

View File

@@ -12,7 +12,7 @@ class MySimpleWizPage(wx.adv.WizardPageSimple):
def __init__(self, parent, title):
wx.adv.WizardPageSimple.__init__(self, parent)
st = wx.StaticText(self, label='Wizard Page: %s' % title)
st.SetFont(wx.Font(24, wx.FONTFAMILY_SWISS))
st.SetFont(wx.FFont(24, wx.FONTFAMILY_SWISS))
sizer = wx.BoxSizer(wx.VERTICAL)
sizer.Add(st, 0, wx.ALIGN_CENTER)
sizer.Add(wx.StaticLine(self), 0, wx.EXPAND)