[wxPython] Image display problem with wxGTK/wxPython

My experience suggests that wxEmptyBitmap doesn't zero out
the memory it grabs, but it seems that wxEmptyImage does--I
get a solid gray background (on win32) by using:

self.bitmap = wxStaticBitmap( self, -1,
            wxEmptyImage(800,600).ConvertToBitmap() )

Hope that helps...

Jeff Shannon
Technician/Programmer
Credit International

···

Andreas Kostyrka <andreas@mtg.co.at> wrote:

Well, wxEmptyBitmap seems to generate a random image
depending upon images
that were shown before. Seems, that the effect just
happens in certain
seldom occuring circumstances :frowning:

Andreas