X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2d814c19cc7b8aa54ca452b14e6a99442361d7da..c0b0635cf69537ca32377bad5650b39402cb21b6:/src/generic/htmllbox.cpp diff --git a/src/generic/htmllbox.cpp b/src/generic/htmllbox.cpp index 5cc120f75c..377fb2b361 100644 --- a/src/generic/htmllbox.cpp +++ b/src/generic/htmllbox.cpp @@ -243,6 +243,9 @@ 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->