Fix calculating the extent of clipping box (wxDC, GTK).
While setting a clipping region there is necessary to intersect it either with current clipping region location if such region exists or with wxDC surface extents if no clipping region is set. This way effective clipping box will be always inside the wxDC surface. Effective clipping box can be an empty region. Clipping box parameters are calculated and stored in logical coordinates.
This commit is contained in:
@@ -74,7 +74,6 @@ All:
|
||||
- Add support for loading dynamic lexer in wxStyledTextCtrl (New Pagodi).
|
||||
- Handle strings with embedded NULs in wxDataStream (Nitch).
|
||||
- Don't crash in wxTextFile::GetLastLine() if the file is empty (crohr).
|
||||
- Many fixes and improvements in Direct2D, Cairo, and GDI+ graphics renderers.
|
||||
|
||||
All (GUI):
|
||||
|
||||
@@ -92,6 +91,8 @@ All (GUI):
|
||||
- Implement auto complete in generic wxSearchCtrl (Eric Jensen).
|
||||
- Fix preserving selection when changing selection mode in wxGrid (jonkraber).
|
||||
- Fix wxTextEntry::SetHint() with wxTE_PASSWORD in generic implementation.
|
||||
- Many fixes and improvements in Direct2D, Cairo, and GDI+ graphics renderers.
|
||||
- Fix and unify clipping region support for MSW and GTK+.
|
||||
|
||||
wxGTK:
|
||||
|
||||
|
Reference in New Issue
Block a user