]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/mac/sizers.py
SWIGged update for wxGTK (the last checkin was really for wxMSW...)
[wxWidgets.git] / wxPython / src / mac / sizers.py
index f3f88dd460dcf7ed58e4a154c8d09550c7cdb7dd..88d328f1d63c6740766a603c115bf055585240b0 100644 (file)
@@ -182,6 +182,7 @@ class wxSizerPtr(wxObjectPtr):
         return val
     def Fit(self, *_args, **_kwargs):
         val = apply(sizersc.wxSizer_Fit,(self,) + _args, _kwargs)
+        if val: val = wxSizePtr(val) ; val.thisown = 1
         return val
     def FitInside(self, *_args, **_kwargs):
         val = apply(sizersc.wxSizer_FitInside,(self,) + _args, _kwargs)