if "gtk2" in wx.PlatformInfo:
html.SetStandardFonts()
py_version = sys.version.split()[0]
- html.SetPage(self.text % (wx.VERSION_STRING,
- ", ".join(wx.PlatformInfo[1:]),
- py_version
- ))
+ txt = self.text % (wx.VERSION_STRING,
+ ", ".join(wx.PlatformInfo[1:]),
+ py_version
+ )
+ html.SetPage(txt)
btn = html.FindWindowById(wx.ID_OK)
ir = html.GetInternalRepresentation()
html.SetSize( (ir.GetWidth()+25, ir.GetHeight()+25) )