From: Václav Slavík Date: Tue, 8 May 2001 22:27:09 +0000 (+0000) Subject: forgot to check in wxHtmlProcessor::IsEnabled test in wxHtmlWindow::SetPage X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/73348d099791cd9cc5c4616c1f2122610725cba1?ds=inline forgot to check in wxHtmlProcessor::IsEnabled test in wxHtmlWindow::SetPage git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/html/htmlwin.cpp b/src/html/htmlwin.cpp index 9c7264d6e8..d6b79d5cbd 100644 --- a/src/html/htmlwin.cpp +++ b/src/html/htmlwin.cpp @@ -160,12 +160,14 @@ bool wxHtmlWindow::SetPage(const wxString& source) prG = (nodeG) ? nodeG->GetData()->GetPriority() : -1; if (prL > prG) { - newsrc = nodeL->GetData()->Process(newsrc); + if (nodeL->GetData()->IsEnabled()) + newsrc = nodeL->GetData()->Process(newsrc); nodeL = nodeL->GetNext(); } else // prL <= prG { - newsrc = nodeG->GetData()->Process(newsrc); + if (nodeG->GetData()->IsEnabled()) + newsrc = nodeG->GetData()->Process(newsrc); nodeG = nodeG->GetNext(); } }