]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmlpars.cpp
removed old makefile
[wxWidgets.git] / src / html / htmlpars.cpp
index bb209217f71ae51ca057a615034ebbd0f89d1c64..3a409efb3bd1fef50d9fd751f3c6487c5fd510ae 100644 (file)
@@ -375,7 +375,12 @@ void wxHtmlParser::PopTagHandler()
     wxList::compatibility_iterator first;
 
     if ( !m_HandlersStack ||
-         !(first = m_HandlersStack->GetFirst()) )
+#if wxUSE_STL
+         !(first = m_HandlersStack->GetFirst())
+#else // !wxUSE_STL
+         ((first = m_HandlersStack->GetFirst()) == NULL)
+#endif // wxUSE_STL/!wxUSE_STL
+        )
     {
         wxLogWarning(_("Warning: attempt to remove HTML tag handler from empty stack."));
         return;