X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/eb28fd476257e3e4651536711a0a35880c25ceaa..5a07e9748288d199216af61dcac67d45011e36fe:/wxPython/src/mac/sizers.py diff --git a/wxPython/src/mac/sizers.py b/wxPython/src/mac/sizers.py index f3f88dd460..88d328f1d6 100644 --- a/wxPython/src/mac/sizers.py +++ b/wxPython/src/mac/sizers.py @@ -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)