Merged wxPython 2.2.2 over to the main branch

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@8658 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2000-10-30 21:08:42 +00:00
parent 7874bf5430
commit c368d904fc
193 changed files with 21992 additions and 4366 deletions

View File

@@ -191,9 +191,9 @@ class wxSizerPtr :
apply(self.AddWindow, args)
def Insert(self, *args):
if type(args[0]) == type(1):
if type(args[1]) == type(1):
apply(self.InsertSpacer, args)
elif string.find(args[0].this, 'Sizer') != -1:
elif string.find(args[1].this, 'Sizer') != -1:
apply(self.InsertSizer, args)
else:
apply(self.InsertWindow, args)