X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/83448d71476c44b449f09395cda06fa72b19a50e..8492b560bf18f47d779759d3c9af7adffb6d99ce:/wxPython/src/msw/core.py diff --git a/wxPython/src/msw/core.py b/wxPython/src/msw/core.py index 58db98ba84..3cb44c5789 100644 --- a/wxPython/src/msw/core.py +++ b/wxPython/src/msw/core.py @@ -6011,9 +6011,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"""