]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/m_dflist.cpp
pressing PageDown and then PageUp should return to the same item
[wxWidgets.git] / src / html / m_dflist.cpp
index e113412e7a5a5b6cbde292bd6a8c76b188ff3619..6c767aed918e110d4893d328a0f83e732aa9220a 100644 (file)
@@ -43,7 +43,7 @@ TAG_HANDLER_BEGIN(DEFLIST, "DL,DT,DD" )
 
         if (tag.GetName() == wxT("DL"))
         {
-            if (m_WParser->GetContainer()->GetFirstCell() != NULL)
+            if (m_WParser->GetContainer()->GetFirstChild() != NULL)
             {
                 m_WParser->CloseContainer();
                 m_WParser->OpenContainer();
@@ -52,7 +52,7 @@ TAG_HANDLER_BEGIN(DEFLIST, "DL,DT,DD" )
 
             ParseInner(tag);
 
-            if (m_WParser->GetContainer()->GetFirstCell() != NULL)
+            if (m_WParser->GetContainer()->GetFirstChild() != NULL)
             {
                 m_WParser->CloseContainer();
                 m_WParser->OpenContainer();