Opened 10 years ago

Closed 10 years ago

#9523 closed defect (fixed)

wxGrid::SetCellHighlightROPenWidth fix

Reported by: doornik Owned by:
Priority: normal Milestone:
Component: GUI-generic Version: 2.8.x
Keywords: wGrid Cc:
Blocked By: Blocking:
Patch: yes


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).

Attachments (1)

grid_cpp_1.diff download (400 bytes) - added by doornik 10 years ago.

Download all attachments as: .zip

Change History (2)

Changed 10 years ago by doornik

comment:1 Changed 10 years ago by vadz

  • Resolution set to fixed
  • Status changed from new to closed

Thanks, applied to both branches as r54010.

Note: See TracTickets for help on using tickets.