Background now drawn within the border instead of beyond the margin

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@70263 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2012-01-04 14:00:29 +00:00
parent f8193bbb14
commit 37e7b7838c

View File

@@ -696,7 +696,7 @@ bool wxRichTextObject::DrawBoxAttributes(wxDC& dc, wxRichTextBuffer* buffer, con
dc.SetPen(pen);
dc.SetBrush(brush);
dc.DrawRectangle(marginRect);
dc.DrawRectangle(borderRect);
}
if (flags & wxRICHTEXT_DRAW_GUIDELINES)