]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/brush.cpp
check that the version of __sync_sub_and_fetch that returns a value is supported...
[wxWidgets.git] / src / gtk / brush.cpp
index 214007898251e7ec0cf4cb692ebcb3518a952ba8..4c54c10897509213764cbf43167b00c63eb20ff8 100644 (file)
@@ -40,7 +40,7 @@ public:
     bool operator == (const wxBrushRefData& data) const
     {
         return (m_style == data.m_style &&
     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);
     }
 
                 m_colour == data.m_colour);
     }