Disown the config object when calling wx.ConfigBase.Set

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33955 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2005-05-04 21:47:41 +00:00
parent 438550d873
commit 123dc137d3

View File

@ -85,11 +85,12 @@ public:
};
%apply SWIGTYPE *DISOWN { 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;
DocDeclStr(
static wxConfigBase *, Get(bool createOnDemand = true),