X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c9a1416a3aa25c297d8d6126c08658dba968767d..03c0fc660317ee8ddbd80c5f2564bce68c0d9593:/wxPython/src/msw/clip_dnd.py diff --git a/wxPython/src/msw/clip_dnd.py b/wxPython/src/msw/clip_dnd.py index 7638de0a1d..33c10e5899 100644 --- a/wxPython/src/msw/clip_dnd.py +++ b/wxPython/src/msw/clip_dnd.py @@ -4,6 +4,8 @@ import clip_dndc from misc import * from gdi import * + +from fonts import * import wx class wxDataFormatPtr : def __init__(self,this): @@ -278,6 +280,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 @@ -518,6 +540,7 @@ wxDF_ENHMETAFILE = clip_dndc.wxDF_ENHMETAFILE wxDF_FILENAME = clip_dndc.wxDF_FILENAME wxDF_LOCALE = clip_dndc.wxDF_LOCALE wxDF_PRIVATE = clip_dndc.wxDF_PRIVATE +wxDF_HTML = clip_dndc.wxDF_HTML wxDF_MAX = clip_dndc.wxDF_MAX cvar = clip_dndc.cvar wxFormatInvalid = wxDataFormatPtr(clip_dndc.cvar.wxFormatInvalid)