From: Jaakko Salli Date: Sun, 18 Jan 2009 08:20:04 +0000 (+0000) Subject: Fixed bug: splitter was not drawn for nested categories X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/9667d393a85441c1e39b3f357544209bffd89232 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 --- diff --git a/src/propgrid/propgrid.cpp b/src/propgrid/propgrid.cpp index 237158f0bb..ee3e8c0202 100644 --- a/src/propgrid/propgrid.cpp +++ b/src/propgrid/propgrid.cpp @@ -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;