git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@45851
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
if (!m_window) return false;
// transform the source DC coords to the device ones
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;
wxClientDC *srcDC = (wxClientDC*)source;
wxMemoryDC *memDC = (wxMemoryDC*)source;