configure changes

grid 3d changes


git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@6158 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robert Roebling
2000-02-20 10:23:06 +00:00
parent 5aeda15836
commit 00cf120892
4 changed files with 625 additions and 483 deletions

View File

@@ -4144,20 +4144,19 @@ void wxGrid::DrawCellHighlight( wxDC& dc, const wxGridCellAttr *attr )
// FIXME we should properly set colours for arbitrary bg
wxCoord x1 = rect.x,
y1 = rect.y,
x2 = rect.x + rect.width,
y2 = rect.y + rect.height;
x2 = rect.x + rect.width -1,
y2 = rect.y + rect.height -1;
dc.SetPen(*wxWHITE_PEN);
dc.DrawLine(x1, y1, x2 - 1, y1);
dc.DrawLine(x1, y1, x1, y2 - 1);
dc.DrawLine(x1, y1, x2, y1);
dc.DrawLine(x1, y1, x1, y2);
dc.SetPen(*wxLIGHT_GREY_PEN);
dc.DrawLine(x1 + 1, y2 - 1, x2 - 1, y2 - 1);
dc.DrawLine(x2 - 1, y1 + 1, x2 - 1, y2 - 1);
dc.DrawLine(x2 - 1, y1 + 1, x2 - 1, y2 );
dc.SetPen(*wxBLACK_PEN);
dc.DrawLine(x1, y2, x2, y2);
dc.DrawLine(x2, y1, x2, y2);
dc.DrawLine(x2, y1, x2, y2+1);
#endif // 0/1
}
}