From: Václav Slavík Date: Wed, 17 May 2006 08:52:01 +0000 (+0000) Subject: commented OpenContainer usage X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/69328c1a88f60822d2c7eecf6c7d8b24b6f800d5 commented OpenContainer usage git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/html/winpars.cpp b/src/html/winpars.cpp index 97c4c92d40..c3ff5cd2c5 100644 --- a/src/html/winpars.cpp +++ b/src/html/winpars.cpp @@ -196,7 +196,11 @@ void wxHtmlWinParser::InitParser(const wxString& source) m_tmpLastWasSpace = false; m_lastWordCell = NULL; + // open the toplevel container that contains everything else and that + // is never closed (this makes parser's life easier): OpenContainer(); + + // then open the first container into which page's content will go: OpenContainer(); #if !wxUSE_UNICODE