]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/paintdc.tex
Added #pragmas for gcc.
[wxWidgets.git] / docs / latex / wx / paintdc.tex
CommitLineData
a660d684
KB
1\section{\class{wxPaintDC}}\label{wxpaintdc}
2
3A wxPaintDC must be constructed if an application wishes to paint on the
4client area of a window from within an {\bf OnPaint} event.
5This should normally be constructed as a temporary stack object; don't store
6a wxPaintDC object.
7
8To draw on a window from outside {\bf OnPaint}, construct a \helpref{wxClientDC}{wxclientdc} object.
9
10To draw on the whole window including decorations, construct a \helpref{wxWindowDC}{wxwindowdc} object
11(Windows only).
12
13\wxheading{Derived from}
14
15\helpref{wxDC}{wxdc}
16
17\wxheading{See also}
18
19\helpref{wxDC}{wxdc}, \helpref{wxMemoryDC}{wxmemorydc}, \helpref{wxPaintDC}{wxpaintdc},\rtfsp
20\helpref{wxWindowDC}{wxwindowdc}, \helpref{wxScreenDC}{wxscreendc}
21
22\latexignore{\rtfignore{\wxheading{Members}}}
23
24\membersection{wxPaintDC::wxPaintDC}
25
26\func{}{wxPaintDC}{\param{wxWindow*}{ window}}
27
28Constructor. Pass a pointer to the window on which you wish to paint.
29
30
31