sizer = wx.BoxSizer(wx.VERTICAL)
for i in range(50, 201, 25):
    widget = wx.StaticText(panel, -1, 'Scale Factor = %d' % i)
scale(widget, i)
sizer.Add(widget, 0, wx.ALL, 5)
panel.SetSizer(sizer)
if __name__ == '__main__':
    app = wx.PySimpleApp()
frame = Frame()
frame.Show()
app.MainLoop()
Гибкие шрифты в стиле «em» с wxPython