]> git.saurik.com Git - wxWidgets.git/blame_incremental - docs/latex/wx/windowdc.tex
Overwrote(!!) with source files that compile and link with latest wxGTK.
[wxWidgets.git] / docs / latex / wx / windowdc.tex
... / ...
CommitLineData
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
17\helpref{wxDC}{wxdc}
18
19\wxheading{See also}
20
21\helpref{wxDC}{wxdc}, \helpref{wxMemoryDC}{wxmemorydc}, \helpref{wxPaintDC}{wxpaintdc},\rtfsp
22\helpref{wxClientDC}{wxclientdc}, \helpref{wxScreenDC}{wxscreendc}
23
24\latexignore{\rtfignore{\wxheading{Members}}}
25
26\membersection{wxWindowDC::wxWindowDC}
27
28\func{}{wxWindowDC}{\param{wxWindow*}{ window}}
29
30Constructor. Pass a pointer to the window on which you wish to paint.
31
32
33