X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/584d6f48b077eb614fc5664c221d74fd85d6692b..9ac884500ce30c58e24b0a6af1288b576d2e03e4:/wxPython/src/_artprov.i diff --git a/wxPython/src/_artprov.i b/wxPython/src/_artprov.i index e0acf44015..3e1444579d 100644 --- a/wxPython/src/_artprov.i +++ b/wxPython/src/_artprov.i @@ -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; }} };