X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3cbab64109b007fa1d939fe588f5e79f9105b915..ec0114abef6ee06425ec5bd423cf496271c086dd:/src/gtk1/brush.cpp diff --git a/src/gtk1/brush.cpp b/src/gtk1/brush.cpp index d07c3ed0f7..3b9330bb1a 100644 --- a/src/gtk1/brush.cpp +++ b/src/gtk1/brush.cpp @@ -11,7 +11,10 @@ #include "wx/wxprec.h" #include "wx/brush.h" -#include "wx/colour.h" + +#ifndef WX_PRECOMP + #include "wx/colour.h" +#endif #include @@ -38,7 +41,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); }