X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7cf41a5d66bec0a1297f1417852647aa353a148f..dd2422b32018abf7bca2b8da438e4ef941b174d2:/src/gtk/brush.cpp 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); }