Fix retrieving clipping box after changing wxDC coordinates (MSW)
Member data containing clipping box have to be updated not only when the clipping region is explicitly changed by SetClippingRegion()/DestroyClippingRegion() but also when existing HDC is associated with wxDC using SetHDC() or when wxDC coordinates are transformed with SetDeviceOrigin(), SetLogicalOrigin(), SetUserScale(), SetLogicalScale(), SetTransformMatrix() or ResetTransformMatrix(). When any of these functions is called then clipping box data are marked as invalid and updated using GetClipBox() Win API at nearest call to GetClippingBox(). See #17646.
This commit is contained in:
@@ -124,6 +124,7 @@ wxMSW:
|
||||
- Restore dispatching wxThreadEvent while resizing the window broken in 3.1.0.
|
||||
- Fix wxGraphicsMatrix::TransformDistance for Direct2D renderer.
|
||||
- Fix wxDC::Clear() for rotated DC.
|
||||
- Fix wxDC::GetClippingBox() for transformed wxDC.
|
||||
|
||||
wxOSX:
|
||||
|
||||
|
Reference in New Issue
Block a user