mono/xwt — pull request #227 by dlech (2013-07-14 03:27:19+00:00)
Title: [Mac] fix crash when tree view SelectedRows count is zero

This is really a workaround for an apparent MonoMac bug. The foreach steps into the iteration when Table.SelectedRowCount == 0, so you get a null reference exception when trying to access the Position property.