X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/f2555abd7afd7a7a6017f46dd6550d804850fb9f..015dca24cabea5750e808e7c5f9505165b023c90:/include/wx/mac/carbon/metafile.h diff --git a/include/wx/mac/carbon/metafile.h b/include/wx/mac/carbon/metafile.h index 23a0dc9570..7bf91023d1 100644 --- a/include/wx/mac/carbon/metafile.h +++ b/include/wx/mac/carbon/metafile.h @@ -64,8 +64,8 @@ public: // 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: };