]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/StaticText.py
Don't decref if the interpreter is not initialized, (eg. it's in its
[wxWidgets.git] / wxPython / demo / StaticText.py
index 968c02e3c8a69b3a5667e81638d03589332b2650..52b738ee03d07917bc4372dcb05048625b3be64f 100644 (file)
@@ -36,7 +36,6 @@ class TestPanel(wx.Panel):
         text = StaticText(self, -1, str, (20, 120))
         font = wx.Font(18, wx.SWISS, wx.NORMAL, wx.NORMAL)
         text.SetFont(font)
-        text.SetSize(text.GetBestSize())
 
         StaticText(self, -1,
                    "Multi-line wx.StaticText\nline 2\nline 3\n\nafter empty line",