Fix wxGCDC::Clear

If underlying graphics context is rotated then drawing a rectangle with origin at (0,0) doesn't cover all the drawing area. To draw over entire area we need to get extents of the actual clipping region (with applied all transformations) and use it as coordinates of the drawn rectangle.

See #17636.
This commit is contained in:
Artur Wieczorek
2016-08-21 21:03:16 +02:00
parent 78f00da98a
commit 12eaa61930
2 changed files with 15 additions and 1 deletions

View File

@@ -98,6 +98,7 @@ All (GUI):
- Fix displaying validation errors for numeric wxPropertyGrid properties.
- Add wxSYS_CARET_{ON,OFF,TIMEOUT}_MSEC system settings (brawer).
- Add wxGraphicsContext::GetClipBox().
- Fix wxGCDC::Clear() for rotated graphics context.
wxGTK: