deprecate wxDC::SetClippingRegion(wxRegion) overload and replace it with SetDeviceClippingRegion() to avoid confusion due to use of different kind of coordinates in this and other overloads of the same function; also rename wxDCImpl::DoSetClippingRegionAsRegion() to DoSetDeviceClippingRegion(); finally use bounding box of the region passed to wxDCClipper ctor to avoid interpreting coordinates differently for different ctors of the same class (see #8970)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@54024 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -218,6 +218,13 @@ Deprecated methods and their replacements
|
||||
- EVT_CALENDAR_MONTH and EVT_CALENDAR_YEAR events are deprecated,
|
||||
use EVT_CALENDAR_PAGE_CHANGED which replaces both of them.
|
||||
- wxCalendarCtrl::EnableYearChange() and wxCAL_NO_YEAR_CHANGE are deprecated.
|
||||
There is no replacement for this functionality, it is being dropped as it is
|
||||
not available in native wxCalendarCtrl implementations.
|
||||
- wxDC::SetClippingRegion(const wxRegion&) overload is deprecated as it used
|
||||
different convention from the other SetClippingRegion() overloads: wxRegion
|
||||
passed to it was interpreted in physical, not logical, coordinates. Replace
|
||||
it with SetDeviceClippingRegion() if this was the correct thing to do in your
|
||||
code.
|
||||
|
||||
|
||||
|
||||
|
Reference in New Issue
Block a user