]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/m_image.cpp
refresh the MDI frame window menu whenever a child frame is shown/hidden (and not...
[wxWidgets.git] / src / html / m_image.cpp
index c4e902cb96d54a0a5f62c47b3872f79d409de88a..595ba007b65608860e97dc24d09a03156319c273 100644 (file)
@@ -645,7 +645,7 @@ TAG_HANDLER_BEGIN(IMG, "IMG,MAP,AREA")
                                           str, w, h,
                                           m_WParser->GetPixelScale(),
                                           al, mn);
-                cel->SetLink(m_WParser->GetLink());
+                m_WParser->ApplyStateToCell(cel);
                 cel->SetId(tag.GetParam(wxT("id"))); // may be empty
                 m_WParser->GetContainer()->InsertCell(cel);
                 if (str)