Added wxURLDataObject

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@12170 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2001-10-26 07:19:20 +00:00
parent e8bf92fd9c
commit c9a1416a3a
3 changed files with 164 additions and 0 deletions

View File

@@ -258,6 +258,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
@@ -506,4 +526,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