script to test colors in BitmapButton and StaticBitmap

Maybe this is just an issue with this particular image, but the colors are
wrong in 2.5, it should be blue surrounded by white. Try with 2.4 to see the
expected result.

ka

bitmaptest.zip (830 Bytes)

Kevin Altis wrote:

Maybe this is just an issue with this particular image, but the colors are
wrong in 2.5, it should be blue surrounded by white. Try with 2.4 to see the
expected result.

Looks like there is a bug when loading a BMP with a palette. When I changed it to 24-bit depth and saved the file again it worked fine. PLease submit a wxWindows bug about this.

ยทยทยท

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