X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a72f4631fe5ab7ebeefdacf8ec9c826ea962133f..716a5baa6ecd0d5d0c31914567e4da3165ca6ff0:/wxPython/src/_cshelp.i?ds=sidebyside diff --git a/wxPython/src/_cshelp.i b/wxPython/src/_cshelp.i index ca04f0cae8..927fcea157 100644 --- a/wxPython/src/_cshelp.i +++ b/wxPython/src/_cshelp.i @@ -208,11 +208,14 @@ application using wx.HelpProvider.Set().", ""); class wxHelpProvider { public: + %disownarg( wxHelpProvider *helpProvider ); + %newobject Set; DocDeclStr( static wxHelpProvider *, Set(wxHelpProvider *helpProvider), "Sset the current, application-wide help provider. Returns the previous one. Unlike some other classes, the help provider is not created on demand. This must be explicitly done by the application.", ""); + %cleardisown( wxHelpProvider *helpProvider ); DocDeclStr( static wxHelpProvider *, Get(), @@ -250,6 +253,7 @@ table of help strings will fill up and when window pointers are reused, the wrong help string will be found.", ""); + %pythonAppend Destroy "args[0].thisown = 0" %extend { void Destroy() { delete self; } } };