virtual bool Ok(void) const { return (m_refData != NULL) ; }
inline wxPalette& operator = (const wxPalette& palette) { if (*this == palette) return (*this); Ref(palette); return *this; }
- inline bool operator == (const wxPalette& palette) { return m_refData == palette.m_refData; }
- inline bool operator != (const wxPalette& palette) { return m_refData != palette.m_refData; }
+ inline bool operator == (const wxPalette& palette) const { return m_refData == palette.m_refData; }
+ inline bool operator != (const wxPalette& palette) const { return m_refData != palette.m_refData; }
virtual bool FreeResource(bool force = FALSE);