]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/m_image.cpp
better learn the operators...
[wxWidgets.git] / src / html / m_image.cpp
index 2445a8fe8a40db6b360ce8aee3be6e2277518dfb..494accba1fd4d8399a9bb49b20f4ae38e417e18c 100644 (file)
@@ -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 = 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;
                 }
                     m_WParser->GetContainer()->InsertCell(cel);
                     delete str;
                 }