X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/884360bc11fe926bf91b23215bae719b562df91b..380740af5dd112601916704a6d78d1112ebb31b5:/docs/latex/wx/paintdc.tex

diff --git a/docs/latex/wx/paintdc.tex b/docs/latex/wx/paintdc.tex
index 5589b42648..2884b3a6d6 100644
--- a/docs/latex/wx/paintdc.tex
+++ b/docs/latex/wx/paintdc.tex
@@ -3,7 +3,8 @@
 A wxPaintDC must be constructed if an application wishes to paint on the
 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.
+a wxPaintDC object. If you have an OnPaint handler, you {\it must} create a wxPaintDC
+object within it even if you don't actually use it.
 
 Using wxPaintDC within OnPaint is important because it automatically
 sets the clipping area to the damaged area of the window. Attempts to draw
@@ -16,7 +17,17 @@ To draw on the whole window including decorations, construct a \helpref{wxWindow
 
 \wxheading{Derived from}
 
-\helpref{wxDC}{wxdc}
+\helpref{wxWindowDC}{wxwindowdc}\\
+\helpref{wxDC}{wxdc}\\
+\helpref{wxObject}{wxobject}
+
+\wxheading{Include files}
+
+<wx/dcclient.h>
+
+\wxheading{Library}
+
+\helpref{wxCore}{librarieslist}
 
 \wxheading{See also}
 
@@ -25,7 +36,7 @@ To draw on the whole window including decorations, construct a \helpref{wxWindow
 
 \latexignore{\rtfignore{\wxheading{Members}}}
 
-\membersection{wxPaintDC::wxPaintDC}
+\membersection{wxPaintDC::wxPaintDC}\label{wxpaintdcctor}
 
 \func{}{wxPaintDC}{\param{wxWindow*}{ window}}
 
