]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/htmlwin.cpp
fixed __FUNCTION__ use in Unicode build (it's a variable, not a macro)
[wxWidgets.git] / src / html / htmlwin.cpp
index fc42f4cb5ae77528d3595dee823fa3340cb2beab..7d71dd82d704afe31b391cd33ffe95ee870aac48 100644 (file)
@@ -274,8 +274,10 @@ bool wxHtmlWindow::DoSetPage(const wxString& source)
         wxHtmlProcessorList::compatibility_iterator nodeL, nodeG;
         int prL, prG;
 
-        nodeL = (m_Processors) ? m_Processors->GetFirst() : wxHtmlProcessorList::compatibility_iterator();
-        nodeG = (m_GlobalProcessors) ? m_GlobalProcessors->GetFirst() : wxHtmlProcessorList::compatibility_iterator();
+        if ( m_Processors )
+            nodeL = m_Processors->GetFirst();
+        if ( m_GlobalProcessors )
+            nodeG = m_GlobalProcessors->GetFirst();
 
         // VS: there are two lists, global and local, both of them sorted by
         //     priority. Since we have to go through _both_ lists with