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(";") )