X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/0bca03736369e836cce9297509505c5972e775dd..b4d9758e1cdb956c3a1ec88998cfe00f260a05e2:/src/x11/brush.cpp diff --git a/src/x11/brush.cpp b/src/x11/brush.cpp index 12822c183d..3eeb858046 100644 --- a/src/x11/brush.cpp +++ b/src/x11/brush.cpp @@ -17,10 +17,9 @@ #ifndef WX_PRECOMP #include "wx/utils.h" #include "wx/bitmap.h" + #include "wx/colour.h" #endif -#include "wx/colour.h" - //----------------------------------------------------------------------------- // wxBrush //----------------------------------------------------------------------------- @@ -43,7 +42,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); }