wx.WindowDC

Inheritance diagram for 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).

Derived From

Methods Summary

Class API

Methods

__init__(win)

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

Parameters:


Returns:

wx.WindowDC