X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2dbef2723c6563bd1084486574e4915c4c5587de..e3f9e20cb15c62bd347a8e52d2d36529adbdb3d6:/wxPython/src/mac/core.py?ds=inline diff --git a/wxPython/src/mac/core.py b/wxPython/src/mac/core.py index 34fde12ac2..550e12ca34 100644 --- a/wxPython/src/mac/core.py +++ b/wxPython/src/mac/core.py @@ -4457,7 +4457,11 @@ class PyApp(EvtHandler): def __repr__(self): return "<%s.%s; proxy of C++ wxPyApp instance at %s>" % (self.__class__.__module__, self.__class__.__name__, self.this,) def __init__(self, *args, **kwargs): - """__init__() -> PyApp""" + """ + __init__() -> PyApp + + Create a new application object, starting the bootstrap process. + """ newobj = _core.new_PyApp(*args, **kwargs) self.this = newobj.this self.thisown = 1 @@ -6007,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"""