From eb60079085117e56c69070a4e4232e3dfe705908 Mon Sep 17 00:00:00 2001 From: ousnius Date: Fri, 28 Jan 2022 22:59:03 +0100 Subject: [PATCH] Fix XRC environment variable expansion for bitmap bundles --- src/xrc/xmlres.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/xrc/xmlres.cpp b/src/xrc/xmlres.cpp index e83229b612..53dca74238 100644 --- a/src/xrc/xmlres.cpp +++ b/src/xrc/xmlres.cpp @@ -1967,7 +1967,7 @@ wxBitmapBundle wxXmlResourceHandlerImpl::GetBitmapBundle(const wxString& param, } wxBitmapBundle bitmapBundle; - wxString paramValue = GetParamValue(node); + wxString paramValue = GetFilePath(node); if ( paramValue.EndsWith(".svg") ) { if ( paramValue.Contains(";") )