X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4f9297b0eead20a0bfee71df18e0d8f0cbc402fb..7d1f4c3ff01b09105c07d5e176a14428c834975e:/src/html/m_links.cpp?ds=inline 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();