X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/77ffb5937e89927b621128789401db8921fe580f..e80edb8515cc574f8ad264f47bd9cfe9501cfc97:/include/wx/mac/classic/metafile.h diff --git a/include/wx/mac/classic/metafile.h b/include/wx/mac/classic/metafile.h index 02c76aa61b..c4ae5d1047 100644 --- a/include/wx/mac/classic/metafile.h +++ b/include/wx/mac/classic/metafile.h @@ -8,7 +8,7 @@ // Created: 1998-01-01 // RCS-ID: $Id$ // Copyright: (c) Stefan Csomor -// Licence: wxWidgets licence +// Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -50,11 +50,6 @@ class WXDLLEXPORT wxMetafile: public wxGDIObject { DECLARE_DYNAMIC_CLASS(wxMetafile) public: - // Copy constructor - wxMetafile(const wxMetafile& metafile) - : wxGDIObject() - { Ref(metafile); } - wxMetafile(const wxString& file = wxEmptyString); ~wxMetafile(void); @@ -74,9 +69,8 @@ public: void SetHMETAFILE(WXHMETAFILE mf) ; // Operators - inline wxMetafile& operator = (const wxMetafile& metafile) { if (*this == metafile) return (*this); Ref(metafile); return *this; } - inline bool operator == (const wxMetafile& metafile) { return m_refData == metafile.m_refData; } - inline bool operator != (const wxMetafile& metafile) { return m_refData != metafile.m_refData; } + inline bool operator == (const wxMetafile& metafile) const { return m_refData == metafile.m_refData; } + inline bool operator != (const wxMetafile& metafile) const { return m_refData != metafile.m_refData; } protected: };