wxPython - drawing without paint event

Matt Bitten mbitten73 at yahoo.com
Thu Aug 9 21:46:31 EDT 2007


I've got a wxPython program that needs to do some drawing on a DC on a
regular basis, whether or not a paint event happens. I know how to
make a ClientDC to do the drawing in, and I know what drawing calls to
make. But how do I make it all happen? After I call MainLoop, none of
my code gets called unless there is an event. And there is no event,
so my code doesn't get called. What do I do?




More information about the Python-list mailing list