git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6049
c3d73ce0-8a6f-49c7-b76d-
6d57e0e08775
wxRect rect;
rect.x = m_colRights[col] - m_colWidths[col];
rect.y = m_rowBottoms[row] - m_rowHeights[row];
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));
wxGridCellAttr* attr = GetCellAttr(row, col);
attr->GetRenderer()->Draw(*this, *attr, dc, rect, row, col, IsInSelection(coords));