X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/de6185e212ebc37ff11ff70278e3c4f68419b097..6258f9d978f9794820ad0a051994d8aad7c5c477:/src/x11/brush.cpp diff --git a/src/x11/brush.cpp b/src/x11/brush.cpp index ce9e17d9dc..3eeb858046 100644 --- a/src/x11/brush.cpp +++ b/src/x11/brush.cpp @@ -16,11 +16,10 @@ #ifndef WX_PRECOMP #include "wx/utils.h" + #include "wx/bitmap.h" + #include "wx/colour.h" #endif -#include "wx/bitmap.h" -#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); }