X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/55580c9ddbbde02584cdcb28b55f7a3bdfa2b708..d85cfb3784a10430cc17618645fa66ff3df08040:/wxPython/demo/About.py?ds=sidebyside diff --git a/wxPython/demo/About.py b/wxPython/demo/About.py index 9b5ff7d3ff..badc45fcaa 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.SetStandardFonts() py_version = sys.version.split()[0] html.SetPage(self.text % (wx.VERSION_STRING, py_version)) btn = html.FindWindowById(wx.ID_OK)