]> git.saurik.com Git - wxWidgets.git/blobdiff - src/gtk/brush.cpp
fix MDI child sizing, which was working more or less by accident before I broke it...
[wxWidgets.git] / src / gtk / brush.cpp
index d1223107d4cf7d3559138d69c8fde6033f3cdcfb..4c54c10897509213764cbf43167b00c63eb20ff8 100644 (file)
 #include "wx/brush.h"
 
 #ifndef WX_PRECOMP
+    #include "wx/bitmap.h"
     #include "wx/colour.h"
 #endif
 
-#include <gdk/gdk.h>
-
 //-----------------------------------------------------------------------------
 // wxBrush
 //-----------------------------------------------------------------------------
@@ -41,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);
     }