From 69328c1a88f60822d2c7eecf6c7d8b24b6f800d5 Mon Sep 17 00:00:00 2001 From: =?utf8?q?V=C3=A1clav=20Slav=C3=ADk?= Date: Wed, 17 May 2006 08:52:01 +0000 Subject: [PATCH] commented OpenContainer usage git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@39183 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/html/winpars.cpp | 4 ++++ 1 file changed, 4 insertions(+) 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 -- 2.45.2