wx.PaintDC Class Reference

Inheritance diagram for wx.PaintDC:

wx.WindowDC wx.DC wx.Object

List of all members.

Public Member Functions

 PaintDC (Window window)
 PaintDC ()
 PaintDC (IntPtr wxObject)

Detailed Description

A device context for painting. Please note, that you have to dispose this context as soon as you stop drawing explicitely. In C++ wxWidgets this is done explicitely when creating objects of this class in a local scope. The object will be deleted when leaving this scope implicitely. However, .NET implements an implicit destruction of objects using a garbage collector. So, you have either to use the key word using or the ethod wx.Object.Dispose() to delete a DC immediately after using it.

Constructor & Destructor Documentation

wx.PaintDC.PaintDC ( IntPtr  wxObject  ) 

wx.PaintDC.PaintDC (  ) 

wx.PaintDC.PaintDC ( Window  window  ) 

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