[wxPython] Clearing an Image from a Panel

I am porting an Image Archiving application to
wxPython as a learning exercise. I have a panel which
I am painting images to using the usual wxStaticBitmap
call on the image once converted to a BMP. This works
fine. However, to avoid image overlap I need to clear
the panel prior to each call to wxStaticBitmap. First
I tried what is used in lib/imagebrowser.py -
panel.SetBackgroundColour(wxColour(255,255,255))
followed by panel.Refresh() which achieved nothing.
After scouring the doco I tried panel.Clear() followed
by panel.Refresh() also with no luck. The code is
definitely being executed as it appears just prior to
the wxStaticBitmap call. My platform is Redhat Linux
7.1/Python 2.1.1/wxPython 2.3.1. Any suggestions as
to where I'm going wrong?

John

ยทยทยท

__________________________________________________
Do You Yahoo!?
Make a great connection at Yahoo! Personals.
http://personals.yahoo.com