]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/brush.cpp
DoGetBestSize fix, the lbWidth was not getting updated because of a
[wxWidgets.git] / src / x11 / brush.cpp
index 12822c183dfec20355a9aeaa7634637c12e966ad..3eeb858046d692f17b2e02749f609ccf5817186f 100644 (file)
 #ifndef WX_PRECOMP
     #include "wx/utils.h"
     #include "wx/bitmap.h"
+    #include "wx/colour.h"
 #endif
 
-#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);
     }