Re: [wxpython] StaticBoxSizer problems

2006-03-08 Thread Steve Holden
Matthias Kluwe wrote: > Hi! > > I'd like to place several StaticBoxes in a frame, but I can't get it > right. > > Consider the following code: > > import wx > > app = wx.PySimpleApp() > frame = wx.Frame(parent=None, title="Test") > box = wx.BoxSizer(wx.VERTICAL) > frame.SetSizer(box) > upper_bo

[wxpython] StaticBoxSizer problems

2006-03-08 Thread Matthias Kluwe
Hi! I'd like to place several StaticBoxes in a frame, but I can't get it right. Consider the following code: import wx app = wx.PySimpleApp() frame = wx.Frame(parent=None, title="Test") box = wx.BoxSizer(wx.VERTICAL) frame.SetSizer(box) upper_box = wx.StaticBox(parent=frame, label="Upper Box")