X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2c6dbc21b9a5b84c93a1895e65f11ad4cea917d5..66c2bf7b1d9326fb650acfaae22ec50528cfbf7c:/include/wx/os2/metafile.h diff --git a/include/wx/os2/metafile.h b/include/wx/os2/metafile.h index ac5f7c6267..5036afe6eb 100644 --- a/include/wx/os2/metafile.h +++ b/include/wx/os2/metafile.h @@ -1,12 +1,11 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: metafile.h +// Name: wx/os2/metafile.h // Purpose: wxMetaFile, wxMetaFileDC classes. // This probably should be restricted to Windows platforms, // but if there is an equivalent on your platform, great. // Author: David Webster // Modified by: // Created: 10/10/99 -// RCS-ID: $Id$ // Copyright: (c) David Webster // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -82,7 +81,7 @@ public: virtual ~wxMetafileDCImpl(); virtual wxMetafile *Close(); - virtual void SetMapMode(int mode); + virtual void SetMapMode(wxMappingMode mode); virtual void DoGetTextExtent(const wxString& string, wxCoord *x, wxCoord *y, wxCoord *descent = NULL, @@ -103,7 +102,7 @@ protected: private: DECLARE_CLASS(wxMetafileDCImpl) - DECLARE_NO_COPY_CLASS(wxMetafileDCImpl) + wxDECLARE_NO_COPY_CLASS(wxMetafileDCImpl); }; class WXDLLIMPEXP_CORE wxMetafileDC: public wxDC @@ -136,7 +135,7 @@ public: private: DECLARE_CLASS(wxMetafileDC) - DECLARE_NO_COPY_CLASS(wxMetafileDC) + wxDECLARE_NO_COPY_CLASS(wxMetafileDC); }; /* @@ -172,7 +171,7 @@ class WXDLLIMPEXP_CORE wxMetafileDataObject : public wxDataObject { public: // ctors - wxMetafileDataObject() { m_width = 0; m_height = 0; }; + wxMetafileDataObject() { m_width = 0; m_height = 0; } wxMetafileDataObject(const wxMetafile& metafile, int width = 0,int height = 0) :m_metafile(metafile) ,m_width(width)