fix for goofed up grid borders when scrolling/refreshing

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6049 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn 2000-02-15 18:33:16 +00:00
parent dfde8cd357
commit f87ac92e02

View File

@ -3673,8 +3673,8 @@ void wxGrid::DrawCell( wxDC& dc, const wxGridCellCoords& coords )
wxRect rect;
rect.x = m_colRights[col] - m_colWidths[col];
rect.y = m_rowBottoms[row] - m_rowHeights[row];
rect.width = m_colWidths[col];
rect.height = m_rowHeights[row];
rect.width = m_colWidths[col]-1;
rect.height = m_rowHeights[row]-1;
wxGridCellAttr* attr = GetCellAttr(row, col);
attr->GetRenderer()->Draw(*this, *attr, dc, rect, row, col, IsInSelection(coords));