X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/12e7f72a35d947b2d5ae799bfd754b15eb9f6af2..bc50a2ae95f2ab36b16ceedc7902a9cbfb2f70ea:/wxPython/src/_window.i?ds=sidebyside diff --git a/wxPython/src/_window.i b/wxPython/src/_window.i index 8bb7459a19..6c9381ed1f 100644 --- a/wxPython/src/_window.i +++ b/wxPython/src/_window.i @@ -1810,7 +1810,7 @@ Only functional on Windows.", ""); // constraints and sizers // ---------------------- - // set the constraints for this window or retrieve them (may be NULL) + %disownarg(wxLayoutConstraints*); DocDeclStr( void , SetConstraints( wxLayoutConstraints *constraints ), "Sets the window to have the given layout constraints. If an existing @@ -1828,6 +1828,7 @@ effect.", ""); wxLayoutConstraints *, GetConstraints() const, "Returns a pointer to the window's layout constraints, or None if there are none.", ""); + %cleardisown(wxLayoutConstraints*); DocDeclStr(