]> git.saurik.com Git - wxWidgets.git/blobdiff - src/x11/dcclient.cpp
fix warnings about parameters shadowing member variables
[wxWidgets.git] / src / x11 / dcclient.cpp
index cd0ed5f6a34fad0600becfdc9cf26082345c1fdd..3f74ae5823c96e30e9c73609f7ccd8e117722bd2 100644 (file)
@@ -1276,8 +1276,8 @@ bool wxWindowDC::DoBlit( wxCoord xdest, wxCoord ydest, wxCoord width, wxCoord he
     if (!m_window) return false;
 
     // transform the source DC coords to the device ones
-    xsrc = source->XLOG2DEV(xsrc);
-    ysrc = source->YLOG2DEV(ysrc);
+    xsrc = source->LogicalToDeviceX(xsrc);
+    ysrc = source->LogicalToDeviceY(ysrc);
 
     wxClientDC *srcDC = (wxClientDC*)source;
     wxMemoryDC *memDC = (wxMemoryDC*)source;