From 999c13cc6540e85956fcd6d5d145c907ebeb5393 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Sun, 17 Mar 2002 21:43:38 +0000 Subject: [PATCH] minor fix to wxDC::SetClippingRegion git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/mgl/dc.cpp | 1 + 1 file changed, 1 insertion(+) 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(); -- 2.50.0