[wxPython-users] Problem with device context program - doesn't display what i want

Christopher Barker Chris.Barker at noaa.gov
Mon Sep 18 12:10:14 PDT 2006


Robin Dunn wrote:

> Your buffer is initialized when the window is first created, and at that 
> time it is very small by default.  You'll want to also capture the 
> EVT_SIZE event and recreate your buffer at that time with the new size.

see:

http://wiki.wxpython.org/index.cgi/DoubleBufferedDrawing

For a complete example.

-Chris

-- 
Christopher Barker, Ph.D.
Oceanographer
                                     		
NOAA/OR&R/HAZMAT         (206) 526-6959   voice
7600 Sand Point Way NE   (206) 526-6329   fax
Seattle, WA  98115       (206) 526-6317   main reception

Chris.Barker at noaa.gov




More information about the wxpython-users mailing list