mirror of
https://github.com/wxWidgets/Phoenix.git
synced 2026-01-05 03:20:08 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user