X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1fded56b375bf7a4687af1cdb182899614c1b2a8..05e00ac5ef410707da86d98786cbb268100a7337:/wxPython/demo/About.py diff --git a/wxPython/demo/About.py b/wxPython/demo/About.py index 43ac255556..73e0447114 100644 --- a/wxPython/demo/About.py +++ b/wxPython/demo/About.py @@ -49,7 +49,7 @@ demo item so you can learn how to use the classes yourself.

py_version = sys.version.split()[0] html.SetPage(self.text % (wx.VERSION_STRING, py_version)) btn = html.FindWindowById(wx.ID_OK) - btn.SetDefault() + ##btn.SetDefault() ir = html.GetInternalRepresentation() html.SetSize( (ir.GetWidth()+25, ir.GetHeight()+25) ) self.SetClientSize(html.GetSize())