From d3ae69de983f61c1ede821e32c18ae3a8bd8c70c Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 5 May 2007 21:34:26 +0000 Subject: [PATCH] compilation fix: use DeviceToLogical[XY]() instead of [XY]LOG2DEV() git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45851 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/x11/dcclient.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/x11/dcclient.cpp b/src/x11/dcclient.cpp index cd0ed5f6a3..3f74ae5823 100644 --- a/src/x11/dcclient.cpp +++ b/src/x11/dcclient.cpp @@ -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; -- 2.47.2