[wx-dev] Assert in wxBitmapComboBox

ABX abx at abx.art.pl
Mon Oct 16 08:57:28 PDT 2006


Jaakko Salli <jaakko.salli at pp.inet.fi>:
> > ..\..\src\common\dynarray.cpp(422): assert "nIndex <= m_nCount" failed in ?():
> > bad index in wxArray::Insert
>
> http://personal.inet.fi/private/jmsalli/bmpcombobox2.patch

Thanks, fixed again!

Another problem (verified with two compilers to be sure its not compiler bug)

1. Launch widgets sample
2. Go to wxBitmapComboBox page
3. Select "Insert image from file" button
4. Browse to samples/splash/splash.png and open it.
5. Uncheck "Scale loaded images to fit" checkbox in "Demo options" box
6. Select "Add widget icons"

then series of debug messages is shown from src/msw/imaglist.cpp at line 280
"'ImageList_Draw()' failed with error 0x00000008".

ABX




More information about the wx-dev mailing list