X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/55580c9ddbbde02584cdcb28b55f7a3bdfa2b708..d6dabac05db3bb9365862c65663df44b9e0be508:/wxPython/demo/About.py diff --git a/wxPython/demo/About.py b/wxPython/demo/About.py index 9b5ff7d3ff..10460ace19 100644 --- a/wxPython/demo/About.py +++ b/wxPython/demo/About.py @@ -46,6 +46,8 @@ demo item so you can learn how to use the classes yourself.

def __init__(self, parent): 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() py_version = sys.version.split()[0] html.SetPage(self.text % (wx.VERSION_STRING, py_version)) btn = html.FindWindowById(wx.ID_OK)