X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/5b36366c59ea68056ba07a3ca1c2cd6022a59735..a29b55cdf6c1f8547c615a5e928813ba78566e9a:/include/wx/os2/brush.h diff --git a/include/wx/os2/brush.h b/include/wx/os2/brush.h index b1470f0baf..3f6720cec8 100644 --- a/include/wx/os2/brush.h +++ b/include/wx/os2/brush.h @@ -51,8 +51,8 @@ public: ~wxBrush(); inline wxBrush& operator = (const wxBrush& rBrush) { if (*this == rBrush) return (*this); Ref(rBrush); return *this; } - 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; } virtual void SetColour(const wxColour& rColour); virtual void SetColour( unsigned char cRed