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:
@@ -85,11 +85,12 @@ public:
|
|||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
%apply SWIGTYPE *DISOWN { wxConfigBase *config };
|
||||||
DocDeclStr(
|
DocDeclStr(
|
||||||
static wxConfigBase *, Set(wxConfigBase *config),
|
static wxConfigBase *, Set(wxConfigBase *config),
|
||||||
"Sets the global config object (the one returned by Get) and returns a
|
"Sets the global config object (the one returned by Get) and returns a
|
||||||
reference to the previous global config object.", "");
|
reference to the previous global config object.", "");
|
||||||
|
%clear wxConfigBase *config;
|
||||||
|
|
||||||
DocDeclStr(
|
DocDeclStr(
|
||||||
static wxConfigBase *, Get(bool createOnDemand = true),
|
static wxConfigBase *, Get(bool createOnDemand = true),
|
||||||
|
Reference in New Issue
Block a user