]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mgl/pen.cpp
use WX_ASSERT_STR/SIZET_EQUAL instead of CPPUNIT_ASSERT_EQUAL with casts
[wxWidgets.git] / src / mgl / pen.cpp
index 62db79bdf8d2cf16265d798977f2f673c3ae64cf..83ad3603dabefe5d3b30f243e1b5c0199a1d2bb1 100644 (file)
@@ -38,8 +38,8 @@ public:
         // we intentionally don't compare m_hPen fields here
         return m_style == data.m_style &&
                m_width == data.m_width &&
-               memcmp(m_pixPattern,
-                      data.m_pixPattern, sizeof(m_pixPattern)) == 0 &&
+               memcmp(&m_pixPattern,
+                      &data.m_pixPattern, sizeof(m_pixPattern)) == 0 &&
                m_capStyle == data.m_capStyle &&
                m_joinStyle == data.m_joinStyle &&
                m_colour == data.m_colour &&