wx.ClientDC

Inheritance diagram for wx.ClientDC:



Description

A wx.ClientDC must be constructed if an application wishes to paint on the client area of a window from outside an OnPaint event. This should normally be constructed as a temporary stack object; don’t store a wx.ClientDC object.

To draw on a window from within OnPaint, construct a wx.PaintDC object. To draw on the whole window including decorations, construct a wx.WindowDC object (Windows only).

Known Subclasses

wx.PaintDC

Methods Summary

Class API

Methods

__init__(win)

Constructor. Pass the window on which you wish to paint.

Parameters:


Returns:

wx.ClientDC