]> git.saurik.com Git - wxWidgets.git/blobdiff - wxPython/src/mac/core.py
Send an extra size event after creation to work around an apparent bug
[wxWidgets.git] / wxPython / src / mac / core.py
index 34fde12ac285089e2c0aff649f285856123b7e2d..7a2f487c3156838578e2f5cefba1ce34b16d3e59 100644 (file)
@@ -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"""