From caf206039a2d0d8af10f59b59f3b21307b61c343 Mon Sep 17 00:00:00 2001 From: Tobias Taschner Date: Sat, 1 Oct 2022 23:12:40 +0200 Subject: [PATCH] Document third wxBitmapBundle::FromSVG() variant Add a note that data has to be null terminated with the variants without len parameter and to use the third variant for data that is not null terminated. See #22838. (cherry picked from commit 17934d3d624a93b39b9c4935e2086d6ab0d54c1a) --- interface/wx/bmpbndl.h | 18 ++++++++++++------ 1 file changed, 12 insertions(+), 6 deletions(-) diff --git a/interface/wx/bmpbndl.h b/interface/wx/bmpbndl.h index 4cf3019683..cfa004ee3c 100644 --- a/interface/wx/bmpbndl.h +++ b/interface/wx/bmpbndl.h @@ -256,12 +256,14 @@ public: @param data This data may, or not, have the XML document preamble, i.e. it can start either with @c "