X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/15f03b25a6e735601106b49dbf711cc2ad34a1f1..6b91e252475d73358a87cfacce9c75aa04012e2e:/include/wx/os2/brush.h diff --git a/include/wx/os2/brush.h b/include/wx/os2/brush.h index b5aa46844c..3f6720cec8 100644 --- a/include/wx/os2/brush.h +++ b/include/wx/os2/brush.h @@ -44,15 +44,15 @@ class WXDLLEXPORT wxBrush: public wxGDIObject public: wxBrush(); wxBrush( const wxColour& rCol - ,int nStyle + ,int nStyle = wxSOLID ); wxBrush(const wxBitmap& rStipple); inline wxBrush(const wxBrush& rBrush) { Ref(rBrush); } ~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