Re: StaticBoxSizer problems

2006-03-10 Thread Steve Holden
Matthias Kluwe wrote: > Hi! > > Steve Holden wrote: > >>Did you actually try removing the line and running the program? > > > I tried, of course :-) Removing the line > > box.Add(item=upper_box, flag=wx.GROW) > > yields the remaining program > > import wx > > app = wx.PySimpleApp() > frame

Re: StaticBoxSizer problems

2006-03-10 Thread Matthias Kluwe
Hi! Steve Holden wrote: > Did you actually try removing the line and running the program? I tried, of course :-) Removing the line box.Add(item=upper_box, flag=wx.GROW) yields the remaining program import wx app = wx.PySimpleApp() frame = wx.Frame(parent=None, title="Test") box = wx.BoxSizer(

Re: StaticBoxSizer problems

2006-03-09 Thread Steve Holden
Matthias Kluwe wrote: > Hi! > > >>Matthias Kluwe wrote: >> >>>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.VE

Re: StaticBoxSizer problems

2006-03-09 Thread Matthias Kluwe
Hi! If anybody's interested, I've got an solution now. > I'd like to place several StaticBoxes in a frame, but I can't get it > right. > import wx > app = wx.PySimpleApp() > frame = wx.Frame(parent=None, title="Test") > box = wx.BoxSizer(wx.VERTICAL) > frame.SetSizer(box) > upper_box = wx.Stati

Re: StaticBoxSizer problems

2006-03-09 Thread Matthias Kluwe
Hi! > Matthias Kluwe wrote: >> 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