Fix calculating width of the first cell

See #18313.
This commit is contained in:
Artur Wieczorek
2018-12-27 10:09:59 +01:00
parent 73b5d3420e
commit 48c71a5f04

View File

@@ -2368,7 +2368,7 @@ int wxPropertyGrid::DoDrawItems( wxDC& dc,
cellRect.x += 1;
}
int firstCellWidth = colWidths[0] - (greyDepthX - m_marginWidth);
int firstCellWidth = colWidths[0] - (greyDepth - m_marginWidth);
int firstCellX = cellRect.x;
// Calculate cellRect.x for the last cell