X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/14fb0a9f81f254d06c4102124428aca02a743ee3..9fd1fa4b1a6a25fe70e703ceb68231c771de5d4e:/wxPython/demo/About.py diff --git a/wxPython/demo/About.py b/wxPython/demo/About.py index 10460ace19..badc45fcaa 100644 --- a/wxPython/demo/About.py +++ b/wxPython/demo/About.py @@ -47,7 +47,7 @@ demo item so you can learn how to use the classes yourself.

wx.Dialog.__init__(self, parent, -1, 'About the wxPython demo',) html = wx.html.HtmlWindow(self, -1, size=(420, -1)) if "gtk2" in wx.PlatformInfo: - html.NormalizeFontSizes() + html.SetStandardFonts() py_version = sys.version.split()[0] html.SetPage(self.text % (wx.VERSION_STRING, py_version)) btn = html.FindWindowById(wx.ID_OK)