X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/72cdf4c9b3ce92addf09cfb322f0c19bfb0f8744..d42508c2a026d505d39c386b233de4a1b51f1445:/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;