[wx-dev] #9523: wxGrid::SetCellHighlightROPenWidth fix
wxTrac
noreply at wxsite.net
Mon Jun 2 06:45:22 PDT 2008
Ticket URL: <http://trac.wxwidgets.org/ticket/9523>
#9523: wxGrid::SetCellHighlightROPenWidth fix
-------------------------+--------------------------------------------------
Reporter: doornik | Owner:
Type: defect | Status: new
Priority: normal | Milestone:
Component: GUI-generic | Version: 2.8.x
Keywords: wGrid | Blockedby:
Patch: 1 | Blocking:
-------------------------+--------------------------------------------------
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).
--
Ticket URL: <http://trac.wxwidgets.org/ticket/9523>
More information about the wx-dev
mailing list