X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/960ba969f9b7e004cfa7bd1ea26e953dbc159f8c..a763ac036b30921d5c76a393c03dc19bf36fd0b7:/src/html/htmlwin.cpp 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(); } }