*********** wx.WindowDC *********** Inheritance diagram for `wx.WindowDC`: | .. inheritance-diagram:: wx.WindowDC | Description =========== A `wx.WindowDC` 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 `wx.WindowDC` object. 1. To draw on a window from inside `OnPaint`, construct a `wx.PaintDC `_ object. 2. To draw on the client area of a window from outside `OnPaint`, construct a `wx.ClientDC `_ object. 3. To draw on the whole window including decorations, construct a `wx.WindowDC `_ object (Windows only). .. seealso:: `wx.DC `_, `wx.MemoryDC `_, `wx.PaintDC `_, `wx.ClientDC `_, `wx.ScreenDC `_ Derived From ^^^^^^^^^^^^^ * `wx.DC `_ Known Subclasses ^^^^^^^^^^^^^^^^ `wx.BufferedDC `_, `wx.BufferedPaintDC `_, `wx.ClientDC `_, `wx.MemoryDC `_, `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.WindowDC `_