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:
@@ -1972,7 +1972,7 @@ bool wxRichTextParagraphLayoutBox::Draw(wxDC& dc, wxRichTextDrawingContext& cont
|
|||||||
{
|
{
|
||||||
wxRichTextObject* child = node->GetData();
|
wxRichTextObject* child = node->GetData();
|
||||||
|
|
||||||
if (child && !child->GetRange().IsOutside(range))
|
if (child && child->IsShown() && !child->GetRange().IsOutside(range))
|
||||||
{
|
{
|
||||||
wxRect childRect(child->GetPosition(), child->GetCachedSize());
|
wxRect childRect(child->GetPosition(), child->GetCachedSize());
|
||||||
wxRichTextRange childRange = range;
|
wxRichTextRange childRange = range;
|
||||||
|
Reference in New Issue
Block a user