]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mgl/brush.cpp
revert memory leak fix, it causes crash
[wxWidgets.git] / src / mgl / brush.cpp
index d97544d123efefa6c89c51ef08ea790a095c369a..cb542c34f8c1b2d98b5b93803b40eab8eb8f93c9 100644 (file)
@@ -79,7 +79,7 @@ public:
     bool operator == (const wxBrushRefData& data) const
     {
         return (m_style == data.m_style &&
-                m_stipple.IsRefTo(&data.m_stipple) &&
+                m_stipple.IsSameAs(data.m_stipple) &&
                 m_colour == data.m_colour);
     }