X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a41e16b6369fe36743aea3273460362bb503f092..2ece66cf552b80d2c82f28b6c280a3cff106b9cf:/wxPython/src/gtk/core.py diff --git a/wxPython/src/gtk/core.py b/wxPython/src/gtk/core.py index 34fde12ac2..7a2f487c31 100644 --- a/wxPython/src/gtk/core.py +++ b/wxPython/src/gtk/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"""