]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/misc/drawwidget.py
fix building/running of tex2rtf
[wxWidgets.git] / wxPython / misc / drawwidget.py
index f8185ed1c4c553579f7885a9ecb8479eeccfc89d..79bb1a0358711082a94cbafadcbba4a05630a899 100644 (file)
@@ -299,7 +299,7 @@ class Frame(wx.Frame):
         w = b.GenButton(p, -1, "Generic Button")
         w.SetFont(wx.Font(20, wx.SWISS, wx.NORMAL, wx.BOLD, False))
         w.SetBezelWidth(5)
         w = b.GenButton(p, -1, "Generic Button")
         w.SetFont(wx.Font(20, wx.SWISS, wx.NORMAL, wx.BOLD, False))
         w.SetBezelWidth(5)
-        w.SetBestSize()
+        w.SetInitialSize()
         w.SetBackgroundColour("Navy")
         w.SetForegroundColour(wx.WHITE)
         self.DoWidget(w)
         w.SetBackgroundColour("Navy")
         w.SetForegroundColour(wx.WHITE)
         self.DoWidget(w)