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