]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/brush.cpp
fix compilation error after r50329: wxMenu doesn't have HandleWindowEvent() as it...
[wxWidgets.git] / src / x11 / brush.cpp
index ce9e17d9dc838781bb617f6e83b1d325ad8bde6e..3eeb858046d692f17b2e02749f609ccf5817186f 100644 (file)
 
 #ifndef WX_PRECOMP
     #include "wx/utils.h"
+    #include "wx/bitmap.h"
+    #include "wx/colour.h"
 #endif
 
-#include "wx/bitmap.h"
-#include "wx/colour.h"
-
 //-----------------------------------------------------------------------------
 // wxBrush
 //-----------------------------------------------------------------------------
@@ -43,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);
     }