From 2b77f9b88c89f58572cb47a5c8d84db16152b128 Mon Sep 17 00:00:00 2001 From: Julian Smart Date: Wed, 11 Dec 2013 12:05:57 +0000 Subject: [PATCH] Fix for occasionally missing cells in tables git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@75374 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/richtext/richtextbuffer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/richtext/richtextbuffer.cpp b/src/richtext/richtextbuffer.cpp index 996fc9fa58..88b414700c 100644 --- a/src/richtext/richtextbuffer.cpp +++ b/src/richtext/richtextbuffer.cpp @@ -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;