]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/msw/core.py
Add some ownerdraw methods to ListBox for MSW
[wxWidgets.git] / wxPython / src / msw / core.py
index 58db98ba843c723a4ffaebe1e519f9ad93ff6d7b..3cb44c5789180a9dfd2d5ca5570a172b029363a1 100644 (file)
@@ -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"""