X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/584d6f48b077eb614fc5664c221d74fd85d6692b..d9b33d7001af25479a63df96ca2f130b2cbc21aa:/wxPython/src/_artprov.i?ds=sidebyside 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; }} };