From 2895e5c4a10bbd968558f51ca54da54c8574a8e4 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sat, 25 Aug 2018 21:14:40 +0200 Subject: [PATCH] Document that wxHtmlContainerCell::InsertCell() takes ownership This might have been already clear, but it doesn't hurt to specify it explicitly. --- interface/wx/html/htmlcell.h | 3 +++ 1 file changed, 3 insertions(+) diff --git a/interface/wx/html/htmlcell.h b/interface/wx/html/htmlcell.h index 18b05a8a00..406a37b709 100644 --- a/interface/wx/html/htmlcell.h +++ b/interface/wx/html/htmlcell.h @@ -506,6 +506,9 @@ public: /** Inserts a new cell into the container. + + Note that the container takes ownership of the cell and will delete it + when it itself is destroyed. */ void InsertCell(wxHtmlCell* cell);