X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/123dc137d396f8dca26f86d6de77518e02bd70b7..bc50a2ae95f2ab36b16ceedc7902a9cbfb2f70ea:/wxPython/src/_config.i diff --git a/wxPython/src/_config.i b/wxPython/src/_config.i index 4ee0060a0f..434b42cdb1 100644 --- a/wxPython/src/_config.i +++ b/wxPython/src/_config.i @@ -85,12 +85,12 @@ public: }; - %apply SWIGTYPE *DISOWN { wxConfigBase *config }; + %disownarg( wxConfigBase *config ); DocDeclStr( static wxConfigBase *, Set(wxConfigBase *config), "Sets the global config object (the one returned by Get) and returns a reference to the previous global config object.", ""); - %clear wxConfigBase *config; + %cleardisown( wxConfigBase *config ); DocDeclStr( static wxConfigBase *, Get(bool createOnDemand = true),