minor fix to wxDC::SetClippingRegion
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@14668 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
b53195fda4
commit
999c13cc65
@ -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();
|
||||
|
Loading…
Reference in New Issue
Block a user