Replaced CopyObject with Clone for wxPython-specific event classes.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12508 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2001-11-20 06:04:42 +00:00
parent 262e41eb55
commit 07b2e1cd38
8 changed files with 118 additions and 26 deletions

View File

@@ -41,6 +41,10 @@ class wxEventPtr(wxObjectPtr):
def Skip(self, *_args, **_kwargs):
val = apply(eventsc.wxEvent_Skip,(self,) + _args, _kwargs)
return val
def Clone(self, *_args, **_kwargs):
val = apply(eventsc.wxEvent_Clone,(self,) + _args, _kwargs)
if val: val = wxEventPtr(val)
return val
def __repr__(self):
return "<C wxEvent instance at %s>" % (self.this,)
class wxEvent(wxEventPtr):