+ wxHtmlImageCell *cel = new wxHtmlImageCell(
+ m_WParser->GetWindowInterface(),
+ str, w, wpercent, h, hpresent,
+ m_WParser->GetPixelScale(),
+ al, mn);
+ m_WParser->ApplyStateToCell(cel);
+ m_WParser->StopCollapsingSpaces();
+ cel->SetId(tag.GetParam(wxT("id"))); // may be empty
+ cel->SetAlt(tag.GetParam(wxT("alt")));
+ m_WParser->GetContainer()->InsertCell(cel);