wx.WindowDC Class Reference

Inheritance diagram for wx.WindowDC:

wx.DC wx.Object wx.ClientDC wx.MemoryDC wx.PaintDC wx.BufferedDC wx.BufferedPaintDC

List of all members.

Public Member Functions

 WindowDC (Window win)
 WindowDC ()
 WindowDC (IntPtr wxObject)


Detailed Description

A wxWindowDC 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.

To draw on a window from inside OnPaint, construct a wx.PaintDC object.

To draw on the client area of a window from outside OnPaint, construct a wx.ClientDC object.

To draw on the whole window including decorations, construct a wxWindowDC object (Windows only).


Constructor & Destructor Documentation

wx.WindowDC.WindowDC ( IntPtr  wxObject  ) 

wx.WindowDC.WindowDC (  ) 

wx.WindowDC.WindowDC ( Window  win  ) 


Manual of the wx.NET   (c) 2003-2011 the wx.NET project at   Get wx.NET at SourceForge.net. Fast, secure and Free Open Source software downloads