Add wxHtmlContainerCell::Detach()

This allows manipulating the HTML DOM from the outside, e.g. to detach
a header element in order to be able to repeat it on all pages.
This commit is contained in:
Vadim Zeitlin
2018-08-25 21:16:55 +02:00
parent 2895e5c4a1
commit a59f5932df
4 changed files with 116 additions and 0 deletions

View File

@@ -473,6 +473,20 @@ public:
*/
wxHtmlContainerCell(wxHtmlContainerCell* parent);
/**
Detach a child cell.
Detaching a cell removes it from this container and allows to reattach
it to another one by using InsertCell(). Alternatively, this method can
be used to selectively remove some elements of the HTML document tree
by deleting the cell after calling it.
@param cell Must be non-null and an immediate child of this cell.
@since 3.1.2
*/
void Detach(wxHtmlCell* cell);
/**
Returns container's horizontal alignment.
*/