Document the new wxDCClipper behaviour after last commit change

wxDCClipper does restore the (bounding box of the) previously active
clipping region now.

See #13834.
This commit is contained in:
John Roberts 2017-12-24 15:39:40 +01:00 committed by Vadim Zeitlin
parent 2a8c290e0d
commit ba719c576e

View File

@ -1669,11 +1669,10 @@ public:
}
@endcode
@note Unlike other similar classes such as wxDCFontChanger, wxDCClipper
currently doesn't restore the previously active clipping region when it
is destroyed but simply resets clipping on the associated wxDC. This
may be changed in the future wxWidgets versions but has to be taken
into account explicitly in the current one.
@note Since 3.1.1 wxDCClipper restores the previously active clipping
region when it is destroyed. Previously it reset clipping on the
associated wxDC and this has to be taken into account explicitly in
previous wxWidgets versions.
@library{wxcore}
@category{gdi}