]>
Commit | Line | Data |
---|---|---|
a660d684 KB |
1 | \section{\class{wxClientDC}}\label{wxclientdc} |
2 | ||
3 | A wxClientDC must be constructed if an application wishes to paint on the | |
4 | client area of a window from outside an {\bf OnPaint} event. | |
5 | This should normally be constructed as a temporary stack object; don't store | |
6 | a wxClientDC object. | |
7 | ||
8 | To draw on a window from within {\bf OnPaint}, construct a \helpref{wxPaintDC}{wxpaintdc} object. | |
9 | ||
10 | To 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 KB |
16 | \helpref{wxDC}{wxdc} |
17 | ||
954b8ae6 JS |
18 | \wxheading{Include files} |
19 | ||
20 | <wx/dcclient.h> | |
21 | ||
a660d684 KB |
22 | \wxheading{See also} |
23 | ||
24 | \helpref{wxDC}{wxdc}, \helpref{wxMemoryDC}{wxmemorydc}, \helpref{wxPaintDC}{wxpaintdc},\rtfsp | |
25 | \helpref{wxWindowDC}{wxwindowdc}, \helpref{wxScreenDC}{wxscreendc} | |
26 | ||
27 | \latexignore{\rtfignore{\wxheading{Members}}} | |
28 | ||
f510b7b2 | 29 | \membersection{wxClientDC::wxClientDC}\label{wxclientdcctor} |
a660d684 KB |
30 | |
31 | \func{}{wxClientDC}{\param{wxWindow*}{ window}} | |
32 | ||
33 | Constructor. Pass a pointer to the window on which you wish to paint. | |
34 | ||
35 | ||
36 |