From 31ecbfd79cef2d498914d6738fb3719124fccabc Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Sat, 4 May 2013 22:26:02 +0000 Subject: [PATCH] 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 --- unittests/test_wizard.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/unittests/test_wizard.py b/unittests/test_wizard.py index 30f805e1..30937b0f 100644 --- a/unittests/test_wizard.py +++ b/unittests/test_wizard.py @@ -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)