]> git.saurik.com Git - wxWidgets.git/blobdiff - src/generic/htmllbox.cpp
rewrite core foundation conversion to be efficient, double-pass mac WC2MB to verify...
[wxWidgets.git] / src / generic / htmllbox.cpp
index 91be6e7ac756d2dd420cee12483872011d9e2535..377fb2b361b06e391b276db5abc53aca57a398d7 100644 (file)
@@ -242,6 +242,10 @@ void wxHtmlListBox::CacheItem(size_t n) const
 
             self->m_htmlParser = new wxHtmlWinParser;
             m_htmlParser->SetDC(new wxClientDC(self));
+            m_htmlParser->SetFS(&self->m_filesystem);
+
+            // use system's default GUI font by default:
+            m_htmlParser->SetStandardFonts();
         }
 
         wxHtmlContainerCell *cell = (wxHtmlContainerCell *)m_htmlParser->