Fix determining width of the entire row

See #18313.
This commit is contained in:
Artur Wieczorek
2018-12-27 10:57:47 +01:00
parent 9ad19622fd
commit de6469610a

View File

@@ -2330,8 +2330,7 @@ int wxPropertyGrid::DoDrawItems( wxDC& dc,
lh ); lh );
// Default cell rect fill the entire row // Default cell rect fill the entire row
wxRect cellRect(greyDepthX, y, wxRect cellRect(greyDepthX, y, cellX - greyDepthX, rowHeight-1);
gridWidth - greyDepth + 2, rowHeight-1 );
bool isCategory = p->IsCategory(); bool isCategory = p->IsCategory();