Apply fix for #15734: wxRichTextCtrl: A floating wxRichTextTable's cells aren't drawn (dghart)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75320 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
1975bb6865
commit
ac60e751a4
@ -411,6 +411,8 @@ void wxRichTextFloatCollector::DrawFloat(const wxRichTextFloatRectMapArray& arra
|
||||
{
|
||||
wxRichTextObject* obj = array[i]->anchor;
|
||||
wxRichTextRange r = obj->GetRange();
|
||||
if (obj->IsTopLevel())
|
||||
r = obj->GetOwnRange();
|
||||
obj->Draw(dc, context, r, selection, wxRect(obj->GetPosition(), obj->GetCachedSize()), descent, style);
|
||||
i++;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user