]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/brush.cpp
Remove unnecessary restriction for sizer parent
[wxWidgets.git] / src / mac / carbon / brush.cpp
index c9dcbde97c9a6ca8986d4e02712505871ed50c65..95bb600893dae535b04726ee51b73a722ba6fe18 100644 (file)
@@ -33,12 +33,12 @@ public:
     bool operator == ( const wxBrushRefData& brush ) const
     {
         return m_style == brush.m_style &&
-                m_stipple.IsRefTo(&data.m_stipple) &&
+                m_stipple.IsSameAs(brush.m_stipple) &&
                 m_colour == brush.m_colour &&
                 m_macBrushKind == brush.m_macBrushKind &&
                 m_macThemeBrush == brush.m_macThemeBrush &&
                 m_macThemeBackground == brush.m_macThemeBackground &&
-                m_macThemeBackgroundExtent == brush.m_macThemeBackgroundExtent;
+                EqualRect(&m_macThemeBackgroundExtent, &brush.m_macThemeBackgroundExtent);
     }