![]() ![]() ![]() ![]() wxclientdca wxclientdc 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 wxclientdc object. to draw on a window from within onpaint, construct a wxpaintdc object. to draw on the whole window including decorations, construct a wxwindowdc object (windows only). derived from include files <wx/dcclient.h> see also wxdc, wxmemorydc, wxpaintdc, wxwindowdc, wxscreendc members
wxclientdc::wxclientdcwxclientdc(wxwindow* window) constructor. pass a pointer to the window on which you wish to paint.
|