X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/01dba85a7fc9a1103f866c7c3a5cc72f21c0784e..c2754d29034199bc158fc079f91c7bca15d40037:/src/html/m_layout.cpp?ds=inline diff --git a/src/html/m_layout.cpp b/src/html/m_layout.cpp index 38f89940e6..df2615cf1d 100644 --- a/src/html/m_layout.cpp +++ b/src/html/m_layout.cpp @@ -1,5 +1,5 @@ ///////////////////////////////////////////////////////////////////////////// -// Name: mod_layout.cpp +// Name: m_layout.cpp // Purpose: wxHtml module for basic paragraphs/layout handling // Author: Vaclav Slavik // RCS-ID: $Id$ @@ -29,7 +29,7 @@ #include "wx/html/htmlwin.h" -FORCE_LINK_ME(mod_layout) +FORCE_LINK_ME(m_layout) TAG_HANDLER_BEGIN(P, "P") @@ -39,7 +39,7 @@ TAG_HANDLER_BEGIN(P, "P") if (m_WParser -> GetContainer() -> GetFirstCell() != NULL) { m_WParser -> CloseContainer(); m_WParser -> OpenContainer(); - } + } m_WParser -> GetContainer() -> SetIndent(m_WParser -> GetCharHeight(), wxHTML_INDENT_TOP); m_WParser -> GetContainer() -> SetAlign(tag); return FALSE; @@ -60,6 +60,7 @@ TAG_HANDLER_BEGIN(BR, "BR") c = m_WParser -> OpenContainer(); c -> SetAlignHor(al); c -> SetAlign(tag); + c -> SetMinHeight(m_WParser -> GetCharHeight()); return FALSE; } @@ -149,7 +150,7 @@ TAG_HANDLER_BEGIN(TITLE, "TITLE") wxString *src = m_WParser -> GetSource(); for (int i = tag.GetBeginPos(); i < tag.GetEndPos1(); i++) title += (*src)[(unsigned int) i]; - wfr -> SetTitle(title); + wfr -> OnSetTitle(title); } } return TRUE;