X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/a660d684eda27638bca0384b2058911a31c8e845..dc9e1e56917ad9b448bd0087a2d1ae3c632c4db1:/docs/latex/wx/paintdc.tex?ds=sidebyside

diff --git a/docs/latex/wx/paintdc.tex b/docs/latex/wx/paintdc.tex
index e1c416044b..5589b42648 100644
--- a/docs/latex/wx/paintdc.tex
+++ b/docs/latex/wx/paintdc.tex
@@ -5,6 +5,10 @@ client area of a window from within an {\bf OnPaint} event.
 This should normally be constructed as a temporary stack object; don't store
 a wxPaintDC object.
 
+Using wxPaintDC within OnPaint is important because it automatically
+sets the clipping area to the damaged area of the window. Attempts to draw
+outside this area do not appear.
+
 To draw on a window from outside {\bf OnPaint}, construct a \helpref{wxClientDC}{wxclientdc} object.
 
 To draw on the whole window including decorations, construct a \helpref{wxWindowDC}{wxwindowdc} object
