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:
Julian Smart 2013-12-02 09:06:00 +00:00
parent 1975bb6865
commit ac60e751a4

View File

@ -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++;
}