From: Václav Slavík Date: Sun, 2 Sep 2001 20:07:35 +0000 (+0000) Subject: added id handling to image cells X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/50da928bbd828c7b23c20877cdb08722e5eff01c?ds=sidebyside added id handling to image cells git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@11543 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- 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; }