int width = 0, int height = 0,
const wxString& description = wxEmptyString);
+ // as above, but takes reference DC as first argument to take resolution,
+ // size, font metrics etc. from
+ wxEXPLICIT
+ wxEnhMetaFileDC(const wxDC& referenceDC,
+ const wxString& filename = wxEmptyString,
+ int width = 0, int height = 0,
+ const wxString& description = wxEmptyString);
+
// obtain a pointer to the new metafile (caller should delete it)
wxEnhMetaFile *Close();
protected:
wxEnhMetaFile m_metafile;
- DECLARE_NO_COPY_CLASS(wxEnhMetaFileDataObject)
+ wxDECLARE_NO_COPY_CLASS(wxEnhMetaFileDataObject);
};
protected:
wxEnhMetaFile m_metafile;
- DECLARE_NO_COPY_CLASS(wxEnhMetaFileSimpleDataObject)
+ wxDECLARE_NO_COPY_CLASS(wxEnhMetaFileSimpleDataObject);
};
#endif // wxUSE_DRAG_AND_DROP