X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d3b9f782ef3949f583e8ac53795d36787f044fc3..66c2bf7b1d9326fb650acfaae22ec50528cfbf7c:/include/wx/msw/enhmeta.h diff --git a/include/wx/msw/enhmeta.h b/include/wx/msw/enhmeta.h index b69aa33736..3951bd7f5a 100644 --- a/include/wx/msw/enhmeta.h +++ b/include/wx/msw/enhmeta.h @@ -4,7 +4,6 @@ // Author: Vadim Zeitlin // Modified by: // Created: 13.01.00 -// RCS-ID: $Id$ // Copyright: (c) 2000 Vadim Zeitlin // Licence: wxWindows licence /////////////////////////////////////////////////////////////////////////////// @@ -87,6 +86,14 @@ public: 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(); @@ -129,7 +136,7 @@ public: protected: wxEnhMetaFile m_metafile; - DECLARE_NO_COPY_CLASS(wxEnhMetaFileDataObject) + wxDECLARE_NO_COPY_CLASS(wxEnhMetaFileDataObject); }; @@ -172,7 +179,7 @@ public: protected: wxEnhMetaFile m_metafile; - DECLARE_NO_COPY_CLASS(wxEnhMetaFileSimpleDataObject) + wxDECLARE_NO_COPY_CLASS(wxEnhMetaFileSimpleDataObject); }; #endif // wxUSE_DRAG_AND_DROP