From: Václav Slavík Date: Sun, 17 Mar 2002 21:43:38 +0000 (+0000) Subject: minor fix to wxDC::SetClippingRegion X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/999c13cc6540e85956fcd6d5d145c907ebeb5393 minor fix to wxDC::SetClippingRegion git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mgl/dc.cpp b/src/mgl/dc.cpp index aab6d8f990..60d8043928 100644 --- a/src/mgl/dc.cpp +++ b/src/mgl/dc.cpp @@ -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();