]> git.saurik.com Git - wxWidgets.git/blobdiff - src/cocoa/brush.mm
update button style to include BS_MULTILINE when a multiline label is set
[wxWidgets.git] / src / cocoa / brush.mm
index de0760c16a9d801bbe581f609084ba16fa03a1b2..eef0553a907b6d0cdc6268155fba953d96f83e90 100644 (file)
@@ -96,7 +96,7 @@ bool wxBrushRefData::operator==(const wxBrushRefData& data) const
     // don't compare our NSColor
     return m_style == data.m_style &&
            m_colour == data.m_colour &&
-           m_stipple == data.m_stipple;
+           m_stipple.IsSameAs(data.m_stipple);
 }
 
 void wxBrushRefData::DoSetStipple(const wxBitmap& stipple)