Fix for occasionally missing cells in tables

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2013-12-11 12:05:57 +00:00
parent 87ba46f05e
commit 2b77f9b88c

View File

@@ -1972,7 +1972,7 @@ bool wxRichTextParagraphLayoutBox::Draw(wxDC& dc, wxRichTextDrawingContext& cont
{
wxRichTextObject* child = node->GetData();
if (child && !child->GetRange().IsOutside(range))
if (child && child->IsShown() && !child->GetRange().IsOutside(range))
{
wxRect childRect(child->GetPosition(), child->GetCachedSize());
wxRichTextRange childRange = range;