wx.StaticBox and siblings creation order, and other fixes from Kevin Ollivier

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@26942 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2004-04-25 00:39:05 +00:00
parent 07ec2506d5
commit 0c8f286073
6 changed files with 35 additions and 34 deletions

View File

@@ -26,7 +26,7 @@ class TestPanel(wx.Panel):
text = wx.StaticText(self, -1, str, (20, 100))
font = wx.Font(18, wx.SWISS, wx.NORMAL, wx.NORMAL)
text.SetFont(font)
#text.SetSize(text.GetBestSize())
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)