- inline bool operator == (const wxBrush& rBrush) { return m_refData == rBrush.m_refData; }
- inline bool operator != (const wxBrush& rBrush) { return m_refData != rBrush.m_refData; }
+ inline bool operator == (const wxBrush& rBrush) const { return m_refData == rBrush.m_refData; }
+ inline bool operator != (const wxBrush& rBrush) const { return m_refData != rBrush.m_refData; }