@@ -6901,8 +6901,11 @@ void wxGrid::DrawColLabel(wxDC& dc, int col)
|
|||||||
{
|
{
|
||||||
// It is reported that we need to erase the background to avoid display
|
// It is reported that we need to erase the background to avoid display
|
||||||
// artefacts, see #12055.
|
// artefacts, see #12055.
|
||||||
wxDCBrushChanger setBrush(dc, m_colLabelWin->GetBackgroundColour());
|
{
|
||||||
dc.DrawRectangle(rect);
|
wxDCBrushChanger setBrush(dc, m_colLabelWin->GetBackgroundColour());
|
||||||
|
wxDCPenChanger setPen(dc, *wxTRANSPARENT_PEN);
|
||||||
|
dc.DrawRectangle(rect);
|
||||||
|
}
|
||||||
|
|
||||||
rend.DrawBorder(*this, dc, rect);
|
rend.DrawBorder(*this, dc, rect);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user