X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/519cb848a8f4c91c73421bb75314754284e593a4..d45d30c8682f858321600e2958167d7ef54ebeb5:/src/mac/dc.cpp diff --git a/src/mac/dc.cpp b/src/mac/dc.cpp index e021274157..fe34b61a97 100644 --- a/src/mac/dc.cpp +++ b/src/mac/dc.cpp @@ -300,7 +300,7 @@ void wxDC::SetClippingRegion( long x, long y, long width, long height ) long x1 = XLOG2DEV(m_clipX1); long y1 = YLOG2DEV(m_clipY1); long x2 = XLOG2DEV(m_clipX2); - long y2 = XLOG2DEV(m_clipY2); + long y2 = YLOG2DEV(m_clipY2); Rect clip = { y1 , x1 , y2 , x2 } ;