fixes for the wxPre* helpers

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12171 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2001-10-26 07:23:04 +00:00
parent c9a1416a3a
commit 17c0e08c61
38 changed files with 714 additions and 151 deletions

View File

@@ -255,6 +255,26 @@ class wxCustomDataObject(wxCustomDataObjectPtr):
class wxURLDataObjectPtr(wxDataObjectCompositePtr):
def __init__(self,this):
self.this = this
self.thisown = 0
def GetURL(self, *_args, **_kwargs):
val = apply(clip_dndc.wxURLDataObject_GetURL,(self,) + _args, _kwargs)
return val
def SetURL(self, *_args, **_kwargs):
val = apply(clip_dndc.wxURLDataObject_SetURL,(self,) + _args, _kwargs)
return val
def __repr__(self):
return "<C wxURLDataObject instance at %s>" % (self.this,)
class wxURLDataObject(wxURLDataObjectPtr):
def __init__(self,*_args,**_kwargs):
self.this = apply(clip_dndc.new_wxURLDataObject,_args,_kwargs)
self.thisown = 1
class wxClipboardPtr(wxObjectPtr):
def __init__(self,this):
self.this = this
@@ -503,4 +523,5 @@ wxDragError = clip_dndc.wxDragError
wxDragNone = clip_dndc.wxDragNone
wxDragCopy = clip_dndc.wxDragCopy
wxDragMove = clip_dndc.wxDragMove
wxDragLink = clip_dndc.wxDragLink
wxDragCancel = clip_dndc.wxDragCancel