]> git.saurik.com Git - wxWidgets.git/commitdiff
Don't use a default button.
authorRobin Dunn <robin@alldunn.com>
Wed, 4 Feb 2004 23:37:35 +0000 (23:37 +0000)
committerRobin Dunn <robin@alldunn.com>
Wed, 4 Feb 2004 23:37:35 +0000 (23:37 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@25507 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

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)
-        btn.SetDefault()
+        ##btn.SetDefault()
         ir = html.GetInternalRepresentation()
         html.SetSize( (ir.GetWidth()+25, ir.GetHeight()+25) )
         self.SetClientSize(html.GetSize())