]> git.saurik.com Git - wxWidgets.git/commitdiff
forgot to check in wxHtmlProcessor::IsEnabled test in wxHtmlWindow::SetPage
authorVáclav Slavík <vslavik@fastmail.fm>
Tue, 8 May 2001 22:27:09 +0000 (22:27 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Tue, 8 May 2001 22:27:09 +0000 (22:27 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@10072 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/html/htmlwin.cpp

index 9c7264d6e8d675021c2fa95b237882b4535b8e39..d6b79d5cbda3a071a30d3360a45783f29d7a7622 100644 (file)
@@ -160,12 +160,14 @@ bool wxHtmlWindow::SetPage(const wxString& source)
             prG = (nodeG) ? nodeG->GetData()->GetPriority() : -1;
             if (prL > prG)
             {
             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
             {
                 nodeL = nodeL->GetNext();
             }
             else // prL <= prG
             {
-                newsrc = nodeG->GetData()->Process(newsrc);
+                if (nodeG->GetData()->IsEnabled())
+                    newsrc = nodeG->GetData()->Process(newsrc);
                 nodeG = nodeG->GetNext();
             }
         }
                 nodeG = nodeG->GetNext();
             }
         }