1 \section{\class{wxPaintDC
}}\label{wxpaintdc
}
3 A wxPaintDC must be constructed if an application wishes to paint on the
4 client area of a window from within 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 outside
{\bf OnPaint
}, construct a
\helpref{wxClientDC
}{wxclientdc
} object.
10 To draw on the whole window including decorations, construct a
\helpref{wxWindowDC
}{wxwindowdc
} object
13 \wxheading{Derived from
}
19 \helpref{wxDC
}{wxdc
},
\helpref{wxMemoryDC
}{wxmemorydc
},
\helpref{wxPaintDC
}{wxpaintdc
},
\rtfsp
20 \helpref{wxWindowDC
}{wxwindowdc
},
\helpref{wxScreenDC
}{wxscreendc
}
22 \latexignore{\rtfignore{\wxheading{Members
}}}
24 \membersection{wxPaintDC::wxPaintDC
}
26 \func{}{wxPaintDC
}{\param{wxWindow*
}{ window
}}
28 Constructor. Pass a pointer to the window on which you wish to paint.