]> git.saurik.com Git - wxWidgets.git/blobdiff - src/motif/dcclient.cpp
FM small patch for wxDataViewCtrl compilation
[wxWidgets.git] / src / motif / dcclient.cpp
index cb3cfbee407b9be8f46a40191b5796e078e04bc6..2013cc7dbe6d0502d8f67e6ab3ddb09a42b44ef0 100644 (file)
@@ -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());