From: Václav Slavík Date: Thu, 11 Nov 1999 16:08:52 +0000 (+0000) Subject:


is now handled correctly, e.g. empty lines are inserted (unlike

... X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/8c651ab7877f390a333f5f1c2e8edc1ff24d8c02?hp=4b59bea3dd0a8df4eecb61862647572caab49690


is now handled correctly, e.g. empty lines are inserted (unlike

) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@4476 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/html/m_layout.cpp b/src/html/m_layout.cpp index 38f89940e6..af040afe95 100644 --- a/src/html/m_layout.cpp +++ b/src/html/m_layout.cpp @@ -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; }