Fix retrieving bounding box coordinates

Bounding box coordinates have to be calculated and stored internally in device units to be independent on changes of logical coordinates between calls to wxDC::CalcBoundingBox.
These stored coordinates are converted to the logical units on demand when they are retrieved with call to wxDC::MinX, MinY, MaxX or MaxY.

Closes #17667.
This commit is contained in:
Artur Wieczorek
2016-09-16 22:04:53 +02:00
parent 4f0701c82c
commit 277f9c58a1
2 changed files with 11 additions and 6 deletions

View File

@@ -105,6 +105,7 @@ All (GUI):
- Add wxGraphicsContext::Flush() for Cairo renderer.
- Add wxStyledTextEvent::GetListCompletionMethod() (NewPagodi).
- Add wxEVT_STC_AUTOCOMP_COMPLETED event (NewPagodi).
- Fix retrieving bounding box for wxDC with transformed coordinates.
wxGTK: