X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/969d9b6fa963c0f14298e0ec8aa88b6d6292a6f8..25b3661bd4cb44304418b93c0dee1d0dfb99765c:/wxPython/demo/StaticText.py diff --git a/wxPython/demo/StaticText.py b/wxPython/demo/StaticText.py index 968c02e3c8..52b738ee03 100644 --- a/wxPython/demo/StaticText.py +++ b/wxPython/demo/StaticText.py @@ -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",