X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/48c82007d3aaa5ccbc6c8666aa82c5c1bb825606..119727ad9e58e42326764a259a5b88267bb43528:/include/wx/os2/palette.h diff --git a/include/wx/os2/palette.h b/include/wx/os2/palette.h index e3ab2ac73b..9d445157d1 100644 --- a/include/wx/os2/palette.h +++ b/include/wx/os2/palette.h @@ -63,8 +63,10 @@ public: virtual bool Ok(void) const { return (m_refData != NULL) ; } inline wxPalette& operator = (const wxPalette& rPalette) { if (*this == rPalette) return (*this); Ref(rPalette); return *this; } - inline bool operator == (const wxPalette& rPalette) { return m_refData == rPalette.m_refData; } - inline bool operator != (const wxPalette& rPalette) { return m_refData != rPalette.m_refData; } + inline bool operator == (const wxPalette& rPalette) const + { return m_refData == rPalette.m_refData; } + inline bool operator != (const wxPalette& rPalette) const + { return m_refData != rPalette.m_refData; } virtual bool FreeResource(bool bForce = FALSE);