Flicker in windows with MemoryDc

You
are creating a new GenStaticBitmap each time, but the old ones sill exist.
A GenStaticBitmap is a window and so by creating new ones you are just stacking
them on top of the old. Instead of creating a new one you should just
call the SetBitmap method of the existing widget passing your new bitmap.

···

Robin
Dunn

Software
Craftsman

http://wxPython.org Java give you
jitters? Relax with wxPython!

Thanks Robin

That worked great. I am
using iPython and explore my way around methods and attributes using
tab-completion. Using GenStaticBitmap I couldn’t find the resulting widget’s
attributes and methods, which is why I did not know about SetBitmap. Thanks

Wynand Singels