X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ed39ff57b30a70a2395e07887a70bc01e7a3b7ec..b8d24d4edd1f91339918134d2420af39c324aa1f:/src/gtk1/pen.cpp diff --git a/src/gtk1/pen.cpp b/src/gtk1/pen.cpp index 66470bcc89..176463b69d 100644 --- a/src/gtk1/pen.cpp +++ b/src/gtk1/pen.cpp @@ -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 &&