]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk1/brush.cpp
another compilation fix PCH-less build
[wxWidgets.git] / src / gtk1 / brush.cpp
index d07c3ed0f7dcf08c1c6668e1892cee2e14b2ed9c..3b9330bb1a42ded7ae74d126376f56db9b75a064 100644 (file)
 #include "wx/wxprec.h"
 
 #include "wx/brush.h"
-#include "wx/colour.h"
+
+#ifndef WX_PRECOMP
+    #include "wx/colour.h"
+#endif
 
 #include <gdk/gdk.h>
 
@@ -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);
     }