X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/1a1498c08b07625baa087622e75637a2f15325b6..dc0c395d837af5097f3fb52bdc37a1faaa33869b:/src/gtk/brush.cpp?ds=sidebyside diff --git a/src/gtk/brush.cpp b/src/gtk/brush.cpp index 3d4549539f..4c54c10897 100644 --- a/src/gtk/brush.cpp +++ b/src/gtk/brush.cpp @@ -11,9 +11,11 @@ #include "wx/wxprec.h" #include "wx/brush.h" -#include "wx/colour.h" -#include +#ifndef WX_PRECOMP + #include "wx/bitmap.h" + #include "wx/colour.h" +#endif //----------------------------------------------------------------------------- // wxBrush @@ -38,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); }