]> git.saurik.com Git - wxWidgets.git/blame - docs/latex/wx/windowdc.tex
Remove double entry of wxTrackable
[wxWidgets.git] / docs / latex / wx / windowdc.tex
CommitLineData
a660d684
KB
1\section{\class{wxWindowDC}}\label{wxwindowdc}
2
3A wxWindowDC must be constructed if an application wishes to paint on the
4whole area of a window (client and decorations).
5This should normally be constructed as a temporary stack object; don't store
6a wxWindowDC object.
7
8To draw on a window from inside {\bf OnPaint}, construct a \helpref{wxPaintDC}{wxpaintdc} object.
9
10To draw on the client area of a window from outside {\bf OnPaint}, construct a \helpref{wxClientDC}{wxclientdc} object.
11
12To draw on the whole window including decorations, construct a \helpref{wxWindowDC}{wxwindowdc} object
13(Windows only).
14
15\wxheading{Derived from}
16
7376079d
VZ
17\helpref{wxDC}{wxdc}\\
18\helpref{wxObject}{wxobject}
a660d684 19
954b8ae6
JS
20\wxheading{Include files}
21
22<wx/dcclient.h>
23
a7af285d
VZ
24\wxheading{Library}
25
26\helpref{wxCore}{librarieslist}
27
a660d684
KB
28\wxheading{See also}
29
30\helpref{wxDC}{wxdc}, \helpref{wxMemoryDC}{wxmemorydc}, \helpref{wxPaintDC}{wxpaintdc},\rtfsp
31\helpref{wxClientDC}{wxclientdc}, \helpref{wxScreenDC}{wxscreendc}
32
33\latexignore{\rtfignore{\wxheading{Members}}}
34
6d06e061 35\membersection{wxWindowDC::wxWindowDC}\label{wxwindowdcwxwindowdc}
a660d684
KB
36
37\func{}{wxWindowDC}{\param{wxWindow*}{ window}}
38
39Constructor. Pass a pointer to the window on which you wish to paint.
40
41
42