X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7cf41a5d66bec0a1297f1417852647aa353a148f..1d66b09982c9cadc20f9abcf9e2bdc804ffa877a:/src/gtk/brush.cpp?ds=sidebyside diff --git a/src/gtk/brush.cpp b/src/gtk/brush.cpp index d1223107d4..4c54c10897 100644 --- a/src/gtk/brush.cpp +++ b/src/gtk/brush.cpp @@ -13,11 +13,10 @@ #include "wx/brush.h" #ifndef WX_PRECOMP + #include "wx/bitmap.h" #include "wx/colour.h" #endif -#include - //----------------------------------------------------------------------------- // wxBrush //----------------------------------------------------------------------------- @@ -41,7 +40,7 @@ public: bool operator == (const wxBrushRefData& data) const { return (m_style == data.m_style && - m_stipple == data.m_stipple && + m_stipple.IsSameAs(data.m_stipple) && m_colour == data.m_colour); }