]> git.saurik.com Git - wxWidgets.git/commitdiff
minor fix to wxDC::SetClippingRegion
authorVáclav Slavík <vslavik@fastmail.fm>
Sun, 17 Mar 2002 21:43:38 +0000 (21:43 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sun, 17 Mar 2002 21:43:38 +0000 (21:43 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mgl/dc.cpp

index aab6d8f990d46b398fb30dc33ac3dfdacb37ceaa..60d8043928ac4377a4639e0c1ded735bcee2e844 100644 (file)
@@ -249,6 +249,7 @@ void wxDC::DoSetClippingRegionAsRegion(const wxRegion& region)
     // check if the DC is scaled or moved, and if yes, then
     // convert rg to device coordinates:
     if ( m_deviceOriginX != 0 || m_deviceOriginY != 0 ||
+         m_logicalOriginX != 0 || m_logicalOriginY != 0 ||
          XLOG2DEVREL(500) != 500 || YLOG2DEVREL(500) != 500 )
     {
         region_t *mrg = rg.GetMGLRegion().rgnPointer();