diff --git a/src/dfb/dc.cpp b/src/dfb/dc.cpp index 67609b4f13..aecb71fa44 100644 --- a/src/dfb/dc.cpp +++ b/src/dfb/dc.cpp @@ -107,7 +107,7 @@ void wxDFBDCImpl::DoSetDeviceClippingRegion(const wxRegion& region) rect.width = XDEV2LOG(rect.width); rect.height = YDEV2LOG(rect.height); - DoSetClippingRegion(rect); + DoSetClippingRegion(rect.x, rect.y, rect.width, rect.height); } void wxDFBDCImpl::DestroyClippingRegion()