mac 2,9 "Cannot nest wxDCs on the same window"

Robin Dunn robin at alldunn.com
Tue Oct 2 11:16:03 PDT 2007


Riccardo Cohen wrote:
> For instance when a user select a zone, I have a mouse motion event, and 
> I want to draw a rectangle that follows the mouse to show the zone, I 
> can resize a rectangle object and then refresh, but it is easyer to call 
> drawrectangle() immediatly. The same for timer event : for blinking 
> objects I simpy change the color at each timer event and draw a little 
> point with this color.

"Easier" doesn't always mean "better"  ;-)

-- 
Robin Dunn
Software Craftsman
http://wxPython.org  Java give you jitters?  Relax with wxPython!





More information about the wx-users mailing list