Ticket #9523 (closed defect: fixed)
|Reported by:||doornik||Owned by:|
wxGrid::SetCellHighlightROPenWidth may be called before the cursor is set to a valid field (just like SetCellHighlightPenWidth). Therefore a test for the location being -1 should be added. Without this, the grid-based application could crash (mine did with wxMAC, but not with wxMSW).