1 \section{\class{wxClientDC
}}\label{wxclientdc
}
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
8 To draw on a window from within
{\bf OnPaint
}, construct a
\helpref{wxPaintDC
}{wxpaintdc
} object.
10 To draw on the whole window including decorations, construct a
\helpref{wxWindowDC
}{wxwindowdc
} object
13 \wxheading{Derived from
}
15 \helpref{wxWindowDC
}{wxwindowdc
}\\
17 \helpref{wxObject
}{wxobject
}
19 \wxheading{Include files
}
25 \helpref{wxCore
}{librarieslist
}
29 \helpref{wxDC
}{wxdc
},
\helpref{wxMemoryDC
}{wxmemorydc
},
\helpref{wxPaintDC
}{wxpaintdc
},
\rtfsp
30 \helpref{wxWindowDC
}{wxwindowdc
},
\helpref{wxScreenDC
}{wxscreendc
}
32 \latexignore{\rtfignore{\wxheading{Members
}}}
34 \membersection{wxClientDC::wxClientDC
}\label{wxclientdcctor
}
36 \func{}{wxClientDC
}{\param{wxWindow*
}{ window
}}
38 Constructor. Pass a pointer to the window on which you wish to paint.