X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/75f11ad7ca4201f7e2626a2bf5ad84a01296eb4a..defbed48e78f4e84b35f62c2c1b7fd58d740501c:/include/wx/os2/metafile.h?ds=inline 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: };