git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@41165
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
r.x1 = XLOG2DEV(cx);
r.y1 = YLOG2DEV(cy);
r.x2 = r.x1 + XLOG2DEVREL(cw) - 1;
r.x1 = XLOG2DEV(cx);
r.y1 = YLOG2DEV(cy);
r.x2 = r.x1 + XLOG2DEVREL(cw) - 1;
- r.y2 = r.y1 + XLOG2DEVREL(ch) - 1;
+ r.y2 = r.y1 + YLOG2DEVREL(ch) - 1;
if ( !m_surface->SetClip(&r) )
return;
if ( !m_surface->SetClip(&r) )
return;
wxCHECK_RET( Ok(), wxT("invalid dc") );
wxCoord xx = XLOG2DEV(x);
wxCHECK_RET( Ok(), wxT("invalid dc") );
wxCoord xx = XLOG2DEV(x);
- wxCoord yy = XLOG2DEV(y);
+ wxCoord yy = YLOG2DEV(y);
// update the bounding box
wxCoord w, h;
// update the bounding box
wxCoord w, h;