X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/584d6f48b077eb614fc5664c221d74fd85d6692b..f7a50432401c62a3300b0b9faa7e99d7ffe3d4e8:/wxPython/src/_artprov.i?ds=sidebyside diff --git a/wxPython/src/_artprov.i b/wxPython/src/_artprov.i index e0acf44015..3213543a55 100644 --- a/wxPython/src/_artprov.i +++ b/wxPython/src/_artprov.i @@ -243,7 +243,7 @@ class wxPyArtProvider /*: public wxObject*/ { public: - %pythonAppend wxPyArtProvider "self._setCallbackInfo(self, ArtProvider)" + %pythonAppend wxPyArtProvider setCallbackInfo(ArtProvider); wxPyArtProvider(); ~wxPyArtProvider(); @@ -299,7 +299,7 @@ topmost provider if platform_dependent = false", ""); - %pythonAppend Destroy "args[0].thisown = 0" + %pythonPrepend Destroy "args[0].this.own(False)" %extend { void Destroy() { delete self; }} };