Fix retrieving clipping box after changing wxDC coordinates (GTK)
Member data containing clipping box have to be updated not only when the clipping region is explicitly changed by SetClippingRegion()/DestroyClippingRegion() but also 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 by recalculating extents of the clipping region in new coordinates at nearest call to GetClippingBox(). Closes #17646.
This commit is contained in:
@@ -113,6 +113,7 @@ wxGTK:
|
||||
- Cosmetic fix for empty wxCheckBoxes display (Chuddah).
|
||||
- Fix crashes in wxFileSystemWatcher implementation (David Hart).
|
||||
- Fix wxBitmap ctor from XBM for non-square bitmaps.
|
||||
- Fix wxDC::GetClippingBox() for transformed wxDC.
|
||||
|
||||
wxMSW:
|
||||
|
||||
|
Reference in New Issue
Block a user