A canvas device context is automatically created when a canvas is created. It can be retrieved from a canvas with wxCanvas::GetDC and then drawn into. See wxDC for further information on device contexts.
wxCanvasDC::wxCanvasDC
wxCanvasDC::GetClippingBox
void wxCanvasDC(wxCanvas *canvas)
Constructor for internal use only.
void wxCanvasDC(float *x, float *y, float *width, float *height)
Gets the current rectangular clipping region.