]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/dragimgg.cpp
Playing with wxgrid, adding optionnally native columns labels
[wxWidgets.git] / src / generic / dragimgg.cpp
index 36bd745ccc2671c3a5245238d5d2ddd16c32bccc..6cf4a3392561f5830686cf9f1d4aba7e54086002 100644 (file)
@@ -451,13 +451,16 @@ bool wxGenericDragImage::Hide()
 }
 
 // More efficient: erase and redraw simultaneously if possible
-bool wxGenericDragImage::RedrawImage(const wxPoint& oldPos, const wxPoint& newPos,
+bool wxGenericDragImage::RedrawImage(const wxPoint& oldPos,
+                                     const wxPoint& newPos,
                                      bool eraseOld, bool drawNew)
 {
     if (!m_windowDC)
         return false;
 
 #ifdef wxHAS_NATIVE_OVERLAY
+    wxUnusedVar(oldPos);
+
     wxDCOverlay dcoverlay( m_overlay, (wxWindowDC*) m_windowDC ) ;
     if ( eraseOld )
         dcoverlay.Clear() ;