]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/About.py
fixed compile error
[wxWidgets.git] / wxPython / demo / About.py
index 43ac255556119c522aa34d6c30f204d3157c96a6..73e0447114fcc52aa2cc0435d7f0a2c733ca8d8b 100644 (file)
@@ -49,7 +49,7 @@ demo item so you can learn how to use the classes yourself.</p>
         py_version = sys.version.split()[0]
         html.SetPage(self.text % (wx.VERSION_STRING, py_version))
         btn = html.FindWindowById(wx.ID_OK)
         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())
         ir = html.GetInternalRepresentation()
         html.SetSize( (ir.GetWidth()+25, ir.GetHeight()+25) )
         self.SetClientSize(html.GetSize())