]> git.saurik.com Git - wxWidgets.git/blobdiff - include/wx/msw/pen.h
wxAuiMDI* patches through images to wxAuiNotebook
[wxWidgets.git] / include / wx / msw / pen.h
index 57d5f1c0d6dff148acc84fb2de0791897d2a91db..470d92c6dc53ef3e1895b03d28f68f81c392ec94 100644 (file)
@@ -36,7 +36,7 @@ public:
                m_join == data.m_join &&
                m_cap == data.m_cap &&
                m_colour == data.m_colour &&
-               (m_style != wxSTIPPLE || m_stipple == data.m_stipple) &&
+               (m_style != wxSTIPPLE || m_stipple.IsSameAs(data.m_stipple)) &&
                (m_style != wxUSER_DASH ||
                 (m_nbDash == data.m_nbDash &&
                     memcmp(m_dash, data.m_dash, m_nbDash*sizeof(wxDash)) == 0));