Fix for occasionally missing cells in tables

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_3_0_BRANCH@75375 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Julian Smart
2013-12-11 12:06:19 +00:00
parent e60fe373fb
commit 991b7d1b78

View File

@@ -1917,7 +1917,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;