X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f2a139adfdd96a0f781cbc013daff122aa23bba2..f54a35fe2206fa815f0a77bd13d04d37a3895e72:/wxPython/src/msw/clip_dnd.py diff --git a/wxPython/src/msw/clip_dnd.py b/wxPython/src/msw/clip_dnd.py index 7638de0a1d..e453c1a015 100644 --- a/wxPython/src/msw/clip_dnd.py +++ b/wxPython/src/msw/clip_dnd.py @@ -278,6 +278,26 @@ class wxURLDataObject(wxURLDataObjectPtr): +class wxMetafileDataObjectPtr(wxDataObjectSimplePtr): + def __init__(self,this): + self.this = this + self.thisown = 0 + def SetMetafile(self, *_args, **_kwargs): + val = apply(clip_dndc.wxMetafileDataObject_SetMetafile,(self,) + _args, _kwargs) + return val + def GetMetafile(self, *_args, **_kwargs): + val = apply(clip_dndc.wxMetafileDataObject_GetMetafile,(self,) + _args, _kwargs) + return val + def __repr__(self): + return "" % (self.this,) +class wxMetafileDataObject(wxMetafileDataObjectPtr): + def __init__(self,*_args,**_kwargs): + self.this = apply(clip_dndc.new_wxMetafileDataObject,_args,_kwargs) + self.thisown = 1 + + + + class wxClipboardPtr(wxObjectPtr): def __init__(self,this): self.this = this