This is code from sizers.py:
def Insert(self, *args):
if type(args[0]) == type(1):
apply(self.InsertSpacer, args)
elif string.find(args[0].this, 'Sizer') != -1:
apply(self.InsertSizer, args)
else:
apply(self.InsertWindow, args)
Inserting windows does not work properly.
I think the two "args[0]" need to be replaced
by "args[1]".
I also noticed that the Insert method is
not documented on the wxWindows page for
wxSizer.
Ralf
--== Sent via Deja.com http://www.deja.com/ ==--
Before you buy.