it helps if you actually return the return value!

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_4_BRANCH@17447 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2002-10-04 00:42:03 +00:00
parent 9312e5d6db
commit 3f7406ab30
2 changed files with 6 additions and 6 deletions

View File

@@ -231,11 +231,11 @@ class wxSizerPtr(wxObjectPtr):
def Remove(self, *args, **kw):
if type(args[0]) == type(1):
apply(self.RemovePos, args, kw)
return apply(self.RemovePos, args, kw)
elif string.find(args[0].this, 'Sizer') != -1:
apply(self.RemoveSizer, args, kw)
return apply(self.RemoveSizer, args, kw)
else:
apply(self.RemoveWindow, args, kw)
return apply(self.RemoveWindow, args, kw)
def AddMany(self, widgets):
for childinfo in widgets: