X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/72cdf4c9b3ce92addf09cfb322f0c19bfb0f8744..fe6b43a36e8c641c86404cd9369ad3f1402d1546:/include/wx/motif/palette.h diff --git a/include/wx/motif/palette.h b/include/wx/motif/palette.h index cf198a273f..b40831a894 100644 --- a/include/wx/motif/palette.h +++ b/include/wx/motif/palette.h @@ -66,8 +66,8 @@ public: virtual bool Ok() const { return (m_refData != NULL) ; } wxPalette& operator = (const wxPalette& palette) { if (*this == palette) return (*this); Ref(palette); return *this; } - bool operator == (const wxPalette& palette) { return m_refData == palette.m_refData; } - bool operator != (const wxPalette& palette) { return m_refData != palette.m_refData; } + bool operator == (const wxPalette& palette) const { return m_refData == palette.m_refData; } + bool operator != (const wxPalette& palette) const { return m_refData != palette.m_refData; } // Motif-specific WXColormap GetXColormap(WXDisplay* display = NULL) const;