X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1fded56b375bf7a4687af1cdb182899614c1b2a8..86aafce32e5f471b0c84fa611ed51bdea85691df:/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())