It appears that if you have such a list box with several items in it and
attempt to delete EITHER:
1) the first and last items,
OR
2) the last and next-to-last items
you get a wxAssertFailure:
None: C++ assertion "wxAssertFailure" failed in
c:\PROJECTS\wx\src\msw\listbox.cpp(249): invalid index in
wxListBox::Delete
GetSelections() is returning the correct list. I can't seem to replicate
the problem with any other combination of items.
Known bug?
···
--------------------------------------
Gary H. Merrill
Director and Principal Scientist, New Applications
Data Exploration Sciences
GlaxoSmithKline Inc.
(919) 483-8456