[wxPython-users] ANN: FlatNotebook Control For wxPython ;-)
Robin Dunn
robin at alldunn.com
Mon Oct 2 23:58:51 PDT 2006
Kevin Ollivier wrote:
> Hi Andrea,
>
> Cool, I have been looking forward to seeing this control in wxPython!
> However, it has problems on Mac. (No, seriously! ;-) Although, it's not
> with the control itself, it's something to do with the images.
>
> I have to admit I'm baffled by this one - it's the annoying "image
> height doesn't match image width" assert, but in this case, the height
> and width of the PNG files do seem to match. So I wonder if for some
> reason wxMac can't read the PNG files? The assertion I'm getting is:
>
> wx._core.PyAssertionError: C++ assertion "(bitmap.GetWidth() == m_width
> && bitmap.GetHeight() == m_height) || (m_width == 0 && m_height == 0)"
> failed in /BUILD/wxPython-src-2.6.3.3/src/mac/carbon/imaglist.cpp(88):
> invalid bitmap size in wxImageList: this might work on this platform but
> definitely won't under Windows.
>
> I've never seen this before on Mac when loading an image whose
> dimensions were equal. Does anyone know what might be causing this?
It's not checking that the width and height are equal, but that the
dimensions of the image matches size specified for the image list.
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
More information about the wxpython-users
mailing list