Object position calculation correction

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@76294 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2014-04-07 16:23:05 +00:00
parent 75297d8842
commit 9b8b5b085d

View File

@@ -5155,7 +5155,7 @@ bool wxRichTextParagraph::Layout(wxDC& dc, wxRichTextDrawingContext& context, co
{
// We can move it to the correct position at this point
// TODO: probably need to add margin
child->Move(GetPosition() + wxPoint(currentWidth + (wxMax(leftIndent, leftIndent + leftSubIndent)), currentPosition.y));
child->Move(GetPosition() + wxPoint(currentWidth + startOffset, currentPosition.y));
}
// Cases: