]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/clientdc.tex
Documented new menu label functions
[wxWidgets.git] / docs / latex / wx / clientdc.tex
CommitLineData
a660d684
KB
1\section{\class{wxClientDC}}\label{wxclientdc}
2
3A wxClientDC must be constructed if an application wishes to paint on the
4client area of a window from outside an {\bf OnPaint} event.
5This should normally be constructed as a temporary stack object; don't store
6a wxClientDC object.
7
8To draw on a window from within {\bf OnPaint}, construct a \helpref{wxPaintDC}{wxpaintdc} 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
f53561f1 15\helpref{wxWindowDC}{wxwindowdc}\\
a660d684 16\helpref{wxDC}{wxdc}
641d44ae 17\helpref{wxObject}{wxobject}
a660d684 18
954b8ae6
JS
19\wxheading{Include files}
20
21<wx/dcclient.h>
22
a7af285d
VZ
23\wxheading{Library}
24
25\helpref{wxCore}{librarieslist}
26
a660d684
KB
27\wxheading{See also}
28
29\helpref{wxDC}{wxdc}, \helpref{wxMemoryDC}{wxmemorydc}, \helpref{wxPaintDC}{wxpaintdc},\rtfsp
30\helpref{wxWindowDC}{wxwindowdc}, \helpref{wxScreenDC}{wxscreendc}
31
32\latexignore{\rtfignore{\wxheading{Members}}}
33
f510b7b2 34\membersection{wxClientDC::wxClientDC}\label{wxclientdcctor}
a660d684
KB
35
36\func{}{wxClientDC}{\param{wxWindow*}{ window}}
37
38Constructor. Pass a pointer to the window on which you wish to paint.
39
40
41