Add empty paragraph in wxRichTextTable::AddColumns() and AddRows().
Do the same thing in Add{Columns,Rows}() as in CreateTable() to ensure the proper cell creation. Closes #15153, git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@73878 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
67315c8bf9
commit
a9fd42cceb
@ -10322,6 +10322,7 @@ bool wxRichTextTable::AddRows(int startRow, int noRows, const wxRichTextAttr& at
|
||||
cell->GetAttributes() = attr;
|
||||
|
||||
AppendChild(cell);
|
||||
cell->AddParagraph(wxEmptyString);
|
||||
colArray.Add(cell);
|
||||
}
|
||||
}
|
||||
@ -10346,6 +10347,7 @@ bool wxRichTextTable::AddColumns(int startCol, int noCols, const wxRichTextAttr&
|
||||
cell->GetAttributes() = attr;
|
||||
|
||||
AppendChild(cell);
|
||||
cell->AddParagraph(wxEmptyString);
|
||||
|
||||
if (startCol == m_colCount)
|
||||
colArray.Add(cell);
|
||||
|
Loading…
Reference in New Issue
Block a user