Applied #13738: Make a wxRichTextImage's box display around the image (dghart)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@69995 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
9815c111d7
commit
d86b82bb2c
@ -9921,7 +9921,7 @@ bool wxRichTextImage::Draw(wxDC& dc, const wxRichTextRange& range, const wxRichT
|
||||
if (!LoadImageCache(dc))
|
||||
return false;
|
||||
|
||||
DrawBoxAttributes(dc, GetBuffer(), GetAttributes(), wxRect(GetPosition(), GetCachedSize()));
|
||||
DrawBoxAttributes(dc, GetBuffer(), GetAttributes(), wxRect(rect.GetPosition(), GetCachedSize()));
|
||||
|
||||
#if 0
|
||||
int y = rect.y + (rect.height - m_imageCache.GetHeight());
|
||||
|
Loading…
Reference in New Issue
Block a user