*********** wx.ClientDC *********** Inheritance diagram for `wx.ClientDC`: | .. inheritance-diagram:: 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). .. seealso:: `wx.DC `_, `wx.MemoryDC `_, `wx.PaintDC `_, `wx.WindowDC `_, `wx.ScreenDC `_ Derived From ^^^^^^^^^^^^^ * `wx.WindowDC `_ * `wx.DC `_ * `wx.Object `_ Known Subclasses ^^^^^^^^^^^^^^^^ `wx.PaintDC `_ Methods Summary ^^^^^^^^^^^^^^^ * `__init__ <#__init__>`_ Class API ========= Methods ^^^^^^^ .. method:: __init__(win) Constructor. Pass the window on which you wish to paint. **Parameters:** * `win` (`wx.Window `_) | **Returns:** `wx.ClientDC `_