X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/9fd8f2dd3df305448a0c2d56508c04e26385a76d..5d3f234b6b56549bb7e46bfd1286b63cf09ffe65:/src/motif/dcclient.cpp diff --git a/src/motif/dcclient.cpp b/src/motif/dcclient.cpp index cb3cfbee40..2013cc7dbe 100644 --- a/src/motif/dcclient.cpp +++ b/src/motif/dcclient.cpp @@ -1690,7 +1690,7 @@ void wxWindowDC::SetPen( const wxPen &pen ) XSetStipple ((Display*) m_display,(GC) m_gcBacking, myStipple); } else if (m_currentStipple.Ok() - && ((m_currentStipple != oldStipple) || !GET_OPTIMIZATION)) + && ((!m_currentStipple.IsSameAs(oldStipple)) || !GET_OPTIMIZATION)) { XSetStipple ((Display*) m_display, (GC) m_gc, (Pixmap) m_currentStipple.GetDrawable());