From ba719c576ec72d42186309131d30c111309a2ce9 Mon Sep 17 00:00:00 2001 From: John Roberts Date: Sun, 24 Dec 2017 15:39:40 +0100 Subject: [PATCH] Document the new wxDCClipper behaviour after last commit change wxDCClipper does restore the (bounding box of the) previously active clipping region now. See #13834. --- interface/wx/dc.h | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) diff --git a/interface/wx/dc.h b/interface/wx/dc.h index 67ce583325..79490c9c9a 100644 --- a/interface/wx/dc.h +++ b/interface/wx/dc.h @@ -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}