X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/55ccdb93e4ae4b606a4068cb37492c1ec3ed77a6..8a7e4b38b8fa4d31b805a0cf1779a9b95142f05b:/include/wx/os2/brush.h diff --git a/include/wx/os2/brush.h b/include/wx/os2/brush.h index 04b160e4f7..c37808f3ef 100644 --- a/include/wx/os2/brush.h +++ b/include/wx/os2/brush.h @@ -26,6 +26,13 @@ public: wxBrushRefData(const wxBrushRefData& rData); virtual ~wxBrushRefData(); + bool operator == (const wxBrushRefData& data) const + { + return (m_nStyle == data.m_nStyle && + m_vStipple.IsSameAs(data.m_vStipple) && + m_vColour == data.m_vColour); + } + protected: int m_nStyle; wxBitmap m_vStipple ; @@ -47,7 +54,7 @@ public: wxBrush(const wxBitmap& rStipple); virtual ~wxBrush(); - inline bool operator == (const wxBrush& rBrush) const; + bool operator == (const wxBrush& rBrush) const; inline bool operator != (const wxBrush& rBrush) const { return !(*this == rBrush); } virtual void SetColour(const wxColour& rColour);