From 8fa8d158bd6aadab98b40fc85a30425ada252ff4 Mon Sep 17 00:00:00 2001
From: Vadim Zeitlin <vadim@wxwidgets.org>
Date: Mon, 22 May 2006 22:03:42 +0000
Subject: [PATCH] document that wxRenderer methods [are supposed to] preserve
 wxDC attributes

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39275 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
---
 docs/latex/wx/renderer.tex | 5 +++++
 1 file changed, 5 insertions(+)

diff --git a/docs/latex/wx/renderer.tex b/docs/latex/wx/renderer.tex
index 2f2a7d6fcd..17469cdc33 100644
--- a/docs/latex/wx/renderer.tex
+++ b/docs/latex/wx/renderer.tex
@@ -52,6 +52,11 @@ the rendering functions should always prepare it.
 combination of the \texttt{wxCONTROL\_XXX} constants below.
 \end{itemize}
 
+Note that each drawing function restores the \helpref{wxDC}{wxdc} attributes if
+it changes them, so it is safe to assume that the same pen, brush and colours
+that were active before the call to this function are still in effect after it.
+
+
 \wxheading{Constants}
 
 The following rendering flags are defined:
-- 
2.50.0

