]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/_misc.i
Applied part of [ 1575767 ] Init/size/check fixes for sockets
[wxWidgets.git] / wxPython / src / _misc.i
index 2330298d19e9809e3525019c0b4eb76a14b9f000..c412e3026f3da2aced4e4a1165415bd52c4200d4 100644 (file)
@@ -54,7 +54,7 @@ public:
     ~wxCaret(); 
 
     %extend {
-        %pythonAppend Destroy "args[0].thisown = 0"
+        %pythonPrepend Destroy "args[0].this.own(False)"
         DocStr(Destroy,
                "Deletes the C++ object this Python object is a proxy for.", "");
         void Destroy() {