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:
@@ -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)
|
||||
|
Reference in New Issue
Block a user