At the moment, this is buried in a notebook page in a dialog that populates
its listBoxes by reading information from BSDDB databases. But if it's
really a bug I should be able to recreate it with a simple dialog. Stay
tuned.
···
--------------------------------------
Gary H. Merrill
Director and Principal Scientist, New Applications
Data Exploration Sciences
GlaxoSmithKline Inc.
(919) 483-8456
"Robin Dunn"
<robin@alldunn.com>
To: wxPython-users@lists.wxwindows.org
04-Aug-2003 17:50
Please respond to cc:
wxPython-users@lists.wx Subject: Re: [wxPython-users] Bug in listBox.Delete()?
windows.org
gary.h.merrill@gsk.com wrote:
I'm using Python 2.2.3 and wxPython 2.4.1.2, and creating a listBox with
stylewxLB_EXTENDED|wxLB_HSCROLL|wxLB_NEEDED_SB|wxLB_SORT
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::DeleteGetSelections() is returning the correct list. I can't seem to replicate
the problem with any other combination of items.Known bug?
Not that I know of. Do you have a small sample app that shows this
problem?
--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!
---------------------------------------------------------------------
To unsubscribe, e-mail: wxPython-users-unsubscribe@lists.wxwindows.org
For additional commands, e-mail: wxPython-users-help@lists.wxwindows.org