fixes for user dash handling (patch 717736)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@20135 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2003-04-11 14:02:32 +00:00
parent 3251b83466
commit e2a5251d01
6 changed files with 54 additions and 12 deletions

View File

@@ -52,6 +52,11 @@ public:
bool operator == (const wxPenRefData& data) const
{
// It is impossible to tell if the dashes have changed
// so the only thing to do is assume they have
if (m_countDashes != 0 || data.m_countDashes != 0)
return false;
return (m_style == data.m_style &&
m_width == data.m_width &&
m_joinStyle == data.m_joinStyle &&