]> git.saurik.com Git - wxWidgets.git/blame_incremental - docs/latex/wx/clientdc.tex
Always draw the selection of selected items, not just when they have
[wxWidgets.git] / docs / latex / wx / clientdc.tex
... / ...
CommitLineData
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
15\helpref{wxWindowDC}{wxwindowdc}\\
16\helpref{wxDC}{wxdc}
17\helpref{wxObject}{wxobject}
18
19\wxheading{Include files}
20
21<wx/dcclient.h>
22
23\wxheading{See also}
24
25\helpref{wxDC}{wxdc}, \helpref{wxMemoryDC}{wxmemorydc}, \helpref{wxPaintDC}{wxpaintdc},\rtfsp
26\helpref{wxWindowDC}{wxwindowdc}, \helpref{wxScreenDC}{wxscreendc}
27
28\latexignore{\rtfignore{\wxheading{Members}}}
29
30\membersection{wxClientDC::wxClientDC}\label{wxclientdcctor}
31
32\func{}{wxClientDC}{\param{wxWindow*}{ window}}
33
34Constructor. Pass a pointer to the window on which you wish to paint.
35
36
37