X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d699f48ba33c96c24f7ab3764ad98ded0633c1c5..e8c12a53e8ba0f854c931be82c216f42df26d390:/src/html/m_image.cpp diff --git a/src/html/m_image.cpp b/src/html/m_image.cpp index 2445a8fe8a..494accba1f 100644 --- a/src/html/m_image.cpp +++ b/src/html/m_image.cpp @@ -429,6 +429,7 @@ TAG_HANDLER_BEGIN(IMG, "IMG,MAP,AREA") { cel = new wxHtmlImageCell(str, w, h, m_WParser->GetPixelScale(), al, mn); cel->SetLink(m_WParser->GetLink()); + cel->SetId(tag.GetParam(wxT("id"))); // may be empty m_WParser->GetContainer()->InsertCell(cel); delete str; }