X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/b98a5dfcddb061692a11515ce7de4855840f9b6a..5a07e9748288d199216af61dcac67d45011e36fe:/wxPython/src/gtk/sizers.py diff --git a/wxPython/src/gtk/sizers.py b/wxPython/src/gtk/sizers.py index 5ec6b397d9..88d328f1d6 100644 --- a/wxPython/src/gtk/sizers.py +++ b/wxPython/src/gtk/sizers.py @@ -182,10 +182,17 @@ 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) return val def SetSizeHints(self, *_args, **_kwargs): val = apply(sizersc.wxSizer_SetSizeHints,(self,) + _args, _kwargs) return val + def SetVirtualSizeHints(self, *_args, **_kwargs): + val = apply(sizersc.wxSizer_SetVirtualSizeHints,(self,) + _args, _kwargs) + return val def Clear(self, *_args, **_kwargs): val = apply(sizersc.wxSizer_Clear,(self,) + _args, _kwargs) return val