Improve wxListCtrl::GetSubItemRect() and add a unit test for it. See https://github.com/wxWidgets/wxWidgets/pull/1511