Fixed bug: splitter was not drawn for nested categories

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58190 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Jaakko Salli
2009-01-18 08:20:04 +00:00
parent 80e8b5de77
commit 9667d393a8

View File

@@ -1914,7 +1914,8 @@ int wxPropertyGrid::DoDrawItems( wxDC& dc,
unsigned int ci;
int cellX = x + 1;
int nextCellWidth = state->m_colWidths[0];
int nextCellWidth = state->m_colWidths[0] -
(greyDepthX - m_marginWidth);
wxRect cellRect(greyDepthX+1, y, 0, rowHeight-1);
int textXAdd = textMarginHere - greyDepthX;