- #text.SetSize(text.GetBestSize())
-
- wx.StaticText(self, -1, "Multi-line wx.StaticText\nline 2\nline 3\n\nafter empty line", (20,150))
- wx.StaticText(self, -1, "Align right multi-line\nline 2\nline 3\n\nafter empty line", (220,150), style=wx.ALIGN_RIGHT)
+ text.SetSize(text.GetBestSize())
+
+ StaticText(self, -1,
+ "Multi-line wx.StaticText\nline 2\nline 3\n\nafter empty line",
+ (20,170))
+ StaticText(self, -1,
+ "Align right multi-line\nline 2\nline 3\n\nafter empty line",
+ (220,170), style=wx.ALIGN_RIGHT)