X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d9317fd47263a9521466156d7bf0f7988000bf15..babc97583e1280ac0992ca8e3dbd7604e2d3963b:/include/wx/msw/enhmeta.h diff --git a/include/wx/msw/enhmeta.h b/include/wx/msw/enhmeta.h index a7f235453d..88f7cfa8a9 100644 --- a/include/wx/msw/enhmeta.h +++ b/include/wx/msw/enhmeta.h @@ -51,6 +51,11 @@ public: const wxString& GetFileName() const { return m_filename; } + // copy the metafile to the clipboard: the width and height parameters are + // for backwards compatibility (with wxMetaFile) only, they are ignored by + // this method + bool SetClipboard(int width = 0, int height = 0); + // implementation WXHANDLE GetHENHMETAFILE() const { return m_hMF; } void SetHENHMETAFILE(WXHANDLE hMF) { Free(); m_hMF = hMF; } @@ -96,7 +101,7 @@ private: #if wxUSE_DRAG_AND_DROP // notice that we want to support both CF_METAFILEPICT and CF_ENHMETAFILE and -// so we derive from and not from wxDataObjectSimple +// so we derive from wxDataObject and not from wxDataObjectSimple class WXDLLEXPORT wxEnhMetaFileDataObject : public wxDataObject { public: