]>
Commit | Line | Data |
---|---|---|
a660d684 KB |
1 | \section{\class{wxWindowDC}}\label{wxwindowdc} |
2 | ||
3 | A wxWindowDC must be constructed if an application wishes to paint on the | |
4 | whole area of a window (client and decorations). | |
5 | This should normally be constructed as a temporary stack object; don't store | |
6 | a wxWindowDC object. | |
7 | ||
8 | To draw on a window from inside {\bf OnPaint}, construct a \helpref{wxPaintDC}{wxpaintdc} object. | |
9 | ||
10 | To draw on the client area of a window from outside {\bf OnPaint}, construct a \helpref{wxClientDC}{wxclientdc} object. | |
11 | ||
12 | To draw on the whole window including decorations, construct a \helpref{wxWindowDC}{wxwindowdc} object | |
13 | (Windows only). | |
14 | ||
15 | \wxheading{Derived from} | |
16 | ||
17 | \helpref{wxDC}{wxdc} | |
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{wxClientDC}{wxclientdc}, \helpref{wxScreenDC}{wxscreendc} | |
31 | ||
32 | \latexignore{\rtfignore{\wxheading{Members}}} | |
33 | ||
6d06e061 | 34 | \membersection{wxWindowDC::wxWindowDC}\label{wxwindowdcwxwindowdc} |
a660d684 KB |
35 | |
36 | \func{}{wxWindowDC}{\param{wxWindow*}{ window}} | |
37 | ||
38 | Constructor. Pass a pointer to the window on which you wish to paint. | |
39 | ||
40 | ||
41 |