X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/75f11ad7ca4201f7e2626a2bf5ad84a01296eb4a..26531700c7ec84872c60899ce6219954499086da:/include/wx/os2/metafile.h diff --git a/include/wx/os2/metafile.h b/include/wx/os2/metafile.h index c10cd42933..996c190f83 100644 --- a/include/wx/os2/metafile.h +++ b/include/wx/os2/metafile.h @@ -74,9 +74,12 @@ class WXDLLEXPORT wxMetafile: public wxGDIObject void SetWindowsMappingMode(int mm); // 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 wxMetafile& operator = (const wxMetafile& metafile) + { if (*this == metafile) return (*this); Ref(metafile); return *this; } + 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: };