- 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; }