Second phase of OOR completed. (Original python object return for
wxEvtHandler and derived classes. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11963 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -100,8 +100,8 @@ class wxPyDataObjectSimplePtr(wxDataObjectSimplePtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def _setSelf(self, *_args, **_kwargs):
|
||||
val = apply(clip_dndc.wxPyDataObjectSimple__setSelf,(self,) + _args, _kwargs)
|
||||
def _setCallbackInfo(self, *_args, **_kwargs):
|
||||
val = apply(clip_dndc.wxPyDataObjectSimple__setCallbackInfo,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxPyDataObjectSimple instance at %s>" % (self.this,)
|
||||
@@ -109,7 +109,7 @@ class wxPyDataObjectSimple(wxPyDataObjectSimplePtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(clip_dndc.new_wxPyDataObjectSimple,_args,_kwargs)
|
||||
self.thisown = 1
|
||||
self._setSelf(self, wxPyDataObjectSimple)
|
||||
self._setCallbackInfo(self, wxPyDataObjectSimple)
|
||||
|
||||
|
||||
|
||||
@@ -159,8 +159,8 @@ class wxPyTextDataObjectPtr(wxTextDataObjectPtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def _setSelf(self, *_args, **_kwargs):
|
||||
val = apply(clip_dndc.wxPyTextDataObject__setSelf,(self,) + _args, _kwargs)
|
||||
def _setCallbackInfo(self, *_args, **_kwargs):
|
||||
val = apply(clip_dndc.wxPyTextDataObject__setCallbackInfo,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxPyTextDataObject instance at %s>" % (self.this,)
|
||||
@@ -168,7 +168,7 @@ class wxPyTextDataObject(wxPyTextDataObjectPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(clip_dndc.new_wxPyTextDataObject,_args,_kwargs)
|
||||
self.thisown = 1
|
||||
self._setSelf(self, wxPyTextDataObject)
|
||||
self._setCallbackInfo(self, wxPyTextDataObject)
|
||||
|
||||
|
||||
|
||||
@@ -198,8 +198,8 @@ class wxPyBitmapDataObjectPtr(wxBitmapDataObjectPtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def _setSelf(self, *_args, **_kwargs):
|
||||
val = apply(clip_dndc.wxPyBitmapDataObject__setSelf,(self,) + _args, _kwargs)
|
||||
def _setCallbackInfo(self, *_args, **_kwargs):
|
||||
val = apply(clip_dndc.wxPyBitmapDataObject__setCallbackInfo,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def __repr__(self):
|
||||
return "<C wxPyBitmapDataObject instance at %s>" % (self.this,)
|
||||
@@ -207,7 +207,7 @@ class wxPyBitmapDataObject(wxPyBitmapDataObjectPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(clip_dndc.new_wxPyBitmapDataObject,_args,_kwargs)
|
||||
self.thisown = 1
|
||||
self._setSelf(self, wxPyBitmapDataObject)
|
||||
self._setCallbackInfo(self, wxPyBitmapDataObject)
|
||||
|
||||
|
||||
|
||||
@@ -305,8 +305,8 @@ class wxDropSourcePtr :
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def _setSelf(self, *_args, **_kwargs):
|
||||
val = apply(clip_dndc.wxDropSource__setSelf,(self,) + _args, _kwargs)
|
||||
def _setCallbackInfo(self, *_args, **_kwargs):
|
||||
val = apply(clip_dndc.wxDropSource__setCallbackInfo,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def __del__(self,clip_dndc=clip_dndc):
|
||||
if self.thisown == 1 :
|
||||
@@ -333,7 +333,7 @@ class wxDropSource(wxDropSourcePtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(clip_dndc.new_wxDropSource,_args,_kwargs)
|
||||
self.thisown = 1
|
||||
self._setSelf(self, wxDropSource, 0)
|
||||
self._setCallbackInfo(self, wxDropSource, 0)
|
||||
|
||||
|
||||
|
||||
@@ -355,8 +355,8 @@ class wxPyDropTargetPtr(wxDropTargetPtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def _setSelf(self, *_args, **_kwargs):
|
||||
val = apply(clip_dndc.wxPyDropTarget__setSelf,(self,) + _args, _kwargs)
|
||||
def _setCallbackInfo(self, *_args, **_kwargs):
|
||||
val = apply(clip_dndc.wxPyDropTarget__setCallbackInfo,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def __del__(self,clip_dndc=clip_dndc):
|
||||
if self.thisown == 1 :
|
||||
@@ -391,7 +391,7 @@ class wxPyDropTarget(wxPyDropTargetPtr):
|
||||
self.this = apply(clip_dndc.new_wxPyDropTarget,_args,_kwargs)
|
||||
self.thisown = 1
|
||||
if _args:_args[0].thisown = 0
|
||||
self._setSelf(self, wxPyDropTarget)
|
||||
self._setCallbackInfo(self, wxPyDropTarget)
|
||||
|
||||
|
||||
|
||||
@@ -400,8 +400,8 @@ class wxTextDropTargetPtr(wxPyDropTargetPtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def _setSelf(self, *_args, **_kwargs):
|
||||
val = apply(clip_dndc.wxTextDropTarget__setSelf,(self,) + _args, _kwargs)
|
||||
def _setCallbackInfo(self, *_args, **_kwargs):
|
||||
val = apply(clip_dndc.wxTextDropTarget__setCallbackInfo,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def base_OnEnter(self, *_args, **_kwargs):
|
||||
val = apply(clip_dndc.wxTextDropTarget_base_OnEnter,(self,) + _args, _kwargs)
|
||||
@@ -424,7 +424,7 @@ class wxTextDropTarget(wxTextDropTargetPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(clip_dndc.new_wxTextDropTarget,_args,_kwargs)
|
||||
self.thisown = 1
|
||||
self._setSelf(self, wxTextDropTarget)
|
||||
self._setCallbackInfo(self, wxTextDropTarget)
|
||||
|
||||
|
||||
|
||||
@@ -433,8 +433,8 @@ class wxFileDropTargetPtr(wxPyDropTargetPtr):
|
||||
def __init__(self,this):
|
||||
self.this = this
|
||||
self.thisown = 0
|
||||
def _setSelf(self, *_args, **_kwargs):
|
||||
val = apply(clip_dndc.wxFileDropTarget__setSelf,(self,) + _args, _kwargs)
|
||||
def _setCallbackInfo(self, *_args, **_kwargs):
|
||||
val = apply(clip_dndc.wxFileDropTarget__setCallbackInfo,(self,) + _args, _kwargs)
|
||||
return val
|
||||
def base_OnEnter(self, *_args, **_kwargs):
|
||||
val = apply(clip_dndc.wxFileDropTarget_base_OnEnter,(self,) + _args, _kwargs)
|
||||
@@ -457,7 +457,7 @@ class wxFileDropTarget(wxFileDropTargetPtr):
|
||||
def __init__(self,*_args,**_kwargs):
|
||||
self.this = apply(clip_dndc.new_wxFileDropTarget,_args,_kwargs)
|
||||
self.thisown = 1
|
||||
self._setSelf(self, wxFileDropTarget)
|
||||
self._setCallbackInfo(self, wxFileDropTarget)
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user