diff --git a/src/generic/grid.cpp b/src/generic/grid.cpp index d0675c4d8a..7ca5c3cdd9 100644 --- a/src/generic/grid.cpp +++ b/src/generic/grid.cpp @@ -5572,6 +5572,11 @@ void wxGrid::DrawColLabel(wxDC& dc, int col) } else { + // It is reported that we need to erase the background to avoid display + // artefacts, see #12055. + wxDCBrushChanger setBrush(dc, m_colWindow->GetBackgroundColour()); + dc.DrawRectangle(rect); + rend.DrawBorder(*this, dc, rect); }