]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/demo/StaticText.py
fix compilation problem when wxUSE_FSVOLUME==0 after last commit: declare wxIsDriveAv...
[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",