.TH wxWindowDC 3erl "wx 2.2.2.1" "wxWidgets team." "Erlang Module Definition" .SH NAME wxWindowDC \- Functions for wxWindowDC class .SH DESCRIPTION .LP A \fIwxWindowDC\fR\& must be constructed if an application wishes to paint on the whole area of a window (client and decorations)\&. This should normally be constructed as a temporary stack object; don\&'t store a \fIwxWindowDC\fR\& object\&. .LP To draw on a window from inside an EVT_PAINT() handler, construct a \fIwxPaintDC\fR\& object instead\&. .LP To draw on the client area of a window from outside an EVT_PAINT() handler, construct a \fIwxClientDC\fR\& object\&. .LP A \fIwxWindowDC\fR\& object is initialized to use the same font and colours as the window it is associated with\&. .LP See: \fIwxDC\fR\&, \fIwxMemoryDC\fR\&, \fIwxPaintDC\fR\&, \fIwxClientDC\fR\&, \fIwxScreenDC\fR\& .LP This class is derived (and can use functions) from: \fIwxDC\fR\& .LP wxWidgets docs: wxWindowDC .SH DATA TYPES .nf \fBwxWindowDC()\fR\& = wx:wx_object() .br .fi .SH EXPORTS .LP .nf .B new(Window) -> wxWindowDC() .br .fi .br .RS .LP Types: .RS 3 Window = wxWindow:wxWindow() .br .RE .RE .RS .LP Constructor\&. .LP Pass a pointer to the window on which you wish to paint\&. .RE .LP .nf .B destroy(This :: wxWindowDC()) -> ok .br .fi .br .RS .LP Destroys the object\&. .RE