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
This commit is contained in:
@@ -160,12 +160,14 @@ bool wxHtmlWindow::SetPage(const wxString& source)
|
|||||||
prG = (nodeG) ? nodeG->GetData()->GetPriority() : -1;
|
prG = (nodeG) ? nodeG->GetData()->GetPriority() : -1;
|
||||||
if (prL > prG)
|
if (prL > prG)
|
||||||
{
|
{
|
||||||
newsrc = nodeL->GetData()->Process(newsrc);
|
if (nodeL->GetData()->IsEnabled())
|
||||||
|
newsrc = nodeL->GetData()->Process(newsrc);
|
||||||
nodeL = nodeL->GetNext();
|
nodeL = nodeL->GetNext();
|
||||||
}
|
}
|
||||||
else // prL <= prG
|
else // prL <= prG
|
||||||
{
|
{
|
||||||
newsrc = nodeG->GetData()->Process(newsrc);
|
if (nodeG->GetData()->IsEnabled())
|
||||||
|
newsrc = nodeG->GetData()->Process(newsrc);
|
||||||
nodeG = nodeG->GetNext();
|
nodeG = nodeG->GetNext();
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user