X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/461dae941dac51a523a4280d3e1800143b720305..47e94dedd98826720437695345e96a7c2a94a5d4:/src/generic/htmllbox.cpp?ds=sidebyside diff --git a/src/generic/htmllbox.cpp b/src/generic/htmllbox.cpp index 91be6e7ac7..377fb2b361 100644 --- a/src/generic/htmllbox.cpp +++ b/src/generic/htmllbox.cpp @@ -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->