1998-05-20 10:25:30 -04:00
|
|
|
\section{\class{wxClientDC}}\label{wxclientdc}
|
|
|
|
|
|
|
|
A wxClientDC must be constructed if an application wishes to paint on the
|
|
|
|
client area of a window from outside an {\bf OnPaint} event.
|
|
|
|
This should normally be constructed as a temporary stack object; don't store
|
|
|
|
a wxClientDC object.
|
|
|
|
|
|
|
|
To draw on a window from within {\bf OnPaint}, construct a \helpref{wxPaintDC}{wxpaintdc} object.
|
|
|
|
|
|
|
|
To draw on the whole window including decorations, construct a \helpref{wxWindowDC}{wxwindowdc} object
|
|
|
|
(Windows only).
|
|
|
|
|
|
|
|
\wxheading{Derived from}
|
|
|
|
|
1999-06-16 12:34:31 -04:00
|
|
|
\helpref{wxWindowDC}{wxwindowdc}\\
|
1998-05-20 10:25:30 -04:00
|
|
|
\helpref{wxDC}{wxdc}
|
2006-09-05 16:41:19 -04:00
|
|
|
\helpref{wxObject}{wxobject}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
1999-02-15 15:41:29 -05:00
|
|
|
\wxheading{Include files}
|
|
|
|
|
|
|
|
<wx/dcclient.h>
|
|
|
|
|
2007-07-28 08:21:03 -04:00
|
|
|
\wxheading{Library}
|
|
|
|
|
|
|
|
\helpref{wxCore}{librarieslist}
|
|
|
|
|
1998-05-20 10:25:30 -04:00
|
|
|
\wxheading{See also}
|
|
|
|
|
|
|
|
\helpref{wxDC}{wxdc}, \helpref{wxMemoryDC}{wxmemorydc}, \helpref{wxPaintDC}{wxpaintdc},\rtfsp
|
|
|
|
\helpref{wxWindowDC}{wxwindowdc}, \helpref{wxScreenDC}{wxscreendc}
|
|
|
|
|
|
|
|
\latexignore{\rtfignore{\wxheading{Members}}}
|
|
|
|
|
2004-10-04 11:13:52 -04:00
|
|
|
\membersection{wxClientDC::wxClientDC}\label{wxclientdcctor}
|
1998-05-20 10:25:30 -04:00
|
|
|
|
|
|
|
\func{}{wxClientDC}{\param{wxWindow*}{ window}}
|
|
|
|
|
|
|
|
Constructor. Pass a pointer to the window on which you wish to paint.
|
|
|
|
|
|
|
|
|
|
|
|
|