[ wxwindows-Patches-1537282 ] Small fix to wxVListBox::SetSelection

SourceForge.net noreply at sourceforge.net
Wed Aug 9 03:25:09 PDT 2006


Patches item #1537282, was opened at 2006-08-09 10:25
Message generated for change (Tracker Item Submitted) made by Item Submitter
You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=309863&aid=1537282&group_id=9863

Please note that this message will contain a full copy of the comment thread,
including the initial issue submission, for this request,
not just the latest update.
Category: Generic
Group: bug fix
Status: Open
Resolution: None
Priority: 5
Submitted By: Francesco Montorsi (frm)
Assigned to: Nobody/Anonymous (nobody)
Summary: Small fix to wxVListBox::SetSelection

Initial Comment:
This patch removes a problem which happens when you
call SetSelection(-1) on a wxVListBox which has the
wxLB_MULTIPLE style.

Currently it generates an ASSERT as Select() cannot be
used with -1 item index. The patch fix that.



----------------------------------------------------------------------

You can respond by visiting: 
https://sourceforge.net/tracker/?func=detail&atid=309863&aid=1537282&group_id=9863




More information about the wx-dev mailing list