Drawing graphics into a window on Linux failure

Vadim Zeitlin vadim at wxwindows.org
Fri Jun 1 12:09:14 PDT 2007


On Fri, 1 Jun 2007 15:07:46 -0400 David Mathews <grnbriar at mindspring.com> wrote:

DM> I've tried using the DC from the Paint event (works on Windows and  
DM> Mac) and the DC from the window (works only on Windows).

 Which kind of wxDC do you use? In EVT_PAINT handler you need to use
wxPaintDC, everywhere else you should use wxClientDC.

 Regards,
VZ

-- 
TT-Solutions: wxWidgets consultancy and technical support
               http://www.tt-solutions.com/





More information about the wx-users mailing list