X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4f9297b0eead20a0bfee71df18e0d8f0cbc402fb..c8b751aa27764b6deb21e56f09c5403f230b0ce3:/src/html/m_links.cpp?ds=sidebyside diff --git a/src/html/m_links.cpp b/src/html/m_links.cpp index 4ac7d3251c..588180f01e 100644 --- a/src/html/m_links.cpp +++ b/src/html/m_links.cpp @@ -21,10 +21,8 @@ #endif #ifndef WXPRECOMP -#include "wx/wx.h" #endif - #include "wx/html/forcelnk.h" #include "wx/html/m_templ.h" @@ -55,12 +53,12 @@ TAG_HANDLER_BEGIN(A, "A") TAG_HANDLER_PROC(tag) { if (tag.HasParam("NAME")) - { + { m_WParser->GetContainer()->InsertCell(new wxHtmlAnchorCell(tag.GetParam("NAME"))); } - if (tag.HasParam("HREF")) - { + if (tag.HasParam("HREF")) + { wxHtmlLinkInfo oldlnk = m_WParser->GetLink(); wxColour oldclr = m_WParser->GetActualColor(); int oldund = m_WParser->GetFontUnderlined();