]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmlwin.cpp
Final scrolling updates
[wxWidgets.git] / 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)
             {
-                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();
             }
         }