]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/brush.cpp
Rework the wxCusor ctor taking wx stock number to provide as many cursors as
[wxWidgets.git] / src / msw / brush.cpp
index eb3c21d0024440451b562da2515d202c646a2e87..8f0e645b31916ca1e2e34a9878826849d4215e16 100644 (file)
@@ -124,7 +124,7 @@ bool wxBrushRefData::operator==(const wxBrushRefData& data) const
     // don't compare HBRUSHes
     return m_style == data.m_style &&
            m_colour == data.m_colour &&
-           m_stipple.IsRefTo(&data.m_stipple);
+           m_stipple.IsSameAs(data.m_stipple);
 }
 
 void wxBrushRefData::DoSetStipple(const wxBitmap& stipple)