]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/dc.cpp
VTK wrapper of vtkRenderWindow for wxPython. Tested on MSW so far.
[wxWidgets.git] / src / mac / carbon / dc.cpp
index e021274157dd889050aae4946cd8a80b0fd1a2a3..fe34b61a97cd4adeb0fcaf30f15616bd93f630d5 100644 (file)
@@ -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 } ;