X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1a1498c08b07625baa087622e75637a2f15325b6..cf4a8b2698fb853ac4b638d08d95cc8e5794d1aa:/src/x11/brush.cpp diff --git a/src/x11/brush.cpp b/src/x11/brush.cpp index 736dcc6cfd..3eeb858046 100644 --- a/src/x11/brush.cpp +++ b/src/x11/brush.cpp @@ -12,10 +12,13 @@ // for compilers that support precompilation, includes "wx.h". #include "wx/wxprec.h" -#include "wx/utils.h" #include "wx/brush.h" -#include "wx/bitmap.h" -#include "wx/colour.h" + +#ifndef WX_PRECOMP + #include "wx/utils.h" + #include "wx/bitmap.h" + #include "wx/colour.h" +#endif //----------------------------------------------------------------------------- // wxBrush @@ -39,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); }