From 6e0160d7306ce4be1fed45b339f0454012610048 Mon Sep 17 00:00:00 2001 From: Thomas Goyne Date: Sun, 20 Apr 2014 19:46:03 -0700 Subject: [PATCH] Fix ugly extra grid line drawn when the first row is selected --- src/base_grid.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/base_grid.cpp b/src/base_grid.cpp index f963096b8..f3359df0e 100644 --- a/src/base_grid.cpp +++ b/src/base_grid.cpp @@ -354,6 +354,7 @@ void BaseGrid::OnPaint(wxPaintEvent &) { // Draw row background color if (color != row_colors.Default) { + dc.SetPen(*wxTRANSPARENT_PEN); dc.SetBrush(color); dc.DrawRectangle(column_widths[0], (i + 1) * lineHeight + 1, w, lineHeight); }