wxPaintDC

wxPaintDC

Creation Parameters

Device context that is used to draw to a window during a paint event. It should be destroyed before you exit the paint handler. Under windows, you must create a wxPaintDC during a paint event. If you make a call to wx_puts or wx_printf, wxEuphoria may create one for you (see the documentation for those routines for more information).

To draw on a wxWindow outside of a paint event, see wxClientDC.

Supertopics