Lots of little bug fixes, API updates, etc.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24634 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2003-11-22 22:57:49 +00:00
parent f696721e0c
commit fd3f2efe79
46 changed files with 212 additions and 175 deletions

View File

@@ -2302,12 +2302,6 @@ class ArtProvider(object):
del newobj.thisown
self._setCallbackInfo(self, ArtProvider)
def __del__(self, destroy=_misc.delete_ArtProvider):
"""__del__()"""
try:
if self.thisown: destroy(self)
except: pass
def _setCallbackInfo(*args, **kwargs):
"""_setCallbackInfo(PyObject self, PyObject _class)"""
return _misc.ArtProvider__setCallbackInfo(*args, **kwargs)
@@ -4372,7 +4366,8 @@ class DropTarget(object):
self.this = newobj.this
self.thisown = 1
del newobj.thisown
if args: args[1].thisown = 0; self._setCallbackInfo(self, DropTarget)
if args: args[0].thisown = 0;
self._setCallbackInfo(self, DropTarget)
def _setCallbackInfo(*args, **kwargs):
"""_setCallbackInfo(PyObject self, PyObject _class)"""