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:
@@ -696,7 +696,7 @@ bool wxRichTextObject::DrawBoxAttributes(wxDC& dc, wxRichTextBuffer* buffer, con
|
|||||||
|
|
||||||
dc.SetPen(pen);
|
dc.SetPen(pen);
|
||||||
dc.SetBrush(brush);
|
dc.SetBrush(brush);
|
||||||
dc.DrawRectangle(marginRect);
|
dc.DrawRectangle(borderRect);
|
||||||
}
|
}
|
||||||
|
|
||||||
if (flags & wxRICHTEXT_DRAW_GUIDELINES)
|
if (flags & wxRICHTEXT_DRAW_GUIDELINES)
|
||||||
|
Reference in New Issue
Block a user