Ticket URL: <http://trac.wxwidgets.org/ticket/12705#comment:1>
#12705: Multiple list boxes deselection does not work
---------------------+----------------------------------------------------- -
Reporter: mycae | Owner:
Type: defect | Status: closed
Priority: normal | Milestone:
Component: wxMSW | Version:
Resolution: fixed | Keywords:
Blockedby: | Patch: 0
Blocking: |
---------------------+----------------------------------------------------- -
Changes (by VZ):
* status: new => closed
* resolution: => fixed
Comment:
(In [66243]) Deselect all items in wxMSW wxListBox when selection is set
to -1.
Even though this behaviour is somewhat counterintuitive, the documentation
mentions that this is what should happen and wxGTK and wxOSX already
behave
like this so bring wxMSW in line.
wxListBox::DeselectAll() should probably just call
SetSelection(wxNOT_FOUND)
when the item to leave selected is not specified too now.
Closes #12705.
--
Ticket URL: <http://trac.wxwidgets.org/ticket/12705#comment:1>