2006-09-02 Alexander Olk <alex.olk@googlemail.com>
authorAlexander Olk <aolk@mono-cvs.ximian.com>
Sat, 2 Sep 2006 08:57:43 +0000 (08:57 -0000)
committerAlexander Olk <aolk@mono-cvs.ximian.com>
Sat, 2 Sep 2006 08:57:43 +0000 (08:57 -0000)
commit54cae77e31d46bae14b1841ea3c8e042785d2381
tree1adaf5dbba07e4b327ce13d8181aab682181ce47
parent090069dd572a8b38de120ed80d353dc395e18367
2006-09-02  Alexander Olk  <alex.olk@googlemail.com>

* ListBox.cs: Don't unselect an item if the selection ArrayList
  is empty. This prevents a crash when the collection was cleared
  before calling SelectedIndex.

svn path=/trunk/mcs/; revision=64756
mcs/class/Managed.Windows.Forms/System.Windows.Forms/ChangeLog
mcs/class/Managed.Windows.Forms/System.Windows.Forms/ListBox.cs