X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2dbef2723c6563bd1084486574e4915c4c5587de..856bf319b572699cc31ceef8cf78d1b9770cacf9:/wxPython/src/mac/core.py diff --git a/wxPython/src/mac/core.py b/wxPython/src/mac/core.py index 34fde12ac2..7a2f487c31 100644 --- a/wxPython/src/mac/core.py +++ b/wxPython/src/mac/core.py @@ -6007,9 +6007,7 @@ class Window(EvtHandler): def SetDropTarget(*args, **kwargs): """SetDropTarget(PyDropTarget dropTarget)""" - val = _core.Window_SetDropTarget(*args, **kwargs) - args[1].thisown = 0 - return val + return _core.Window_SetDropTarget(*args, **kwargs) def GetDropTarget(*args, **kwargs): """GetDropTarget() -> PyDropTarget"""