use default GUI font in wxHtmlListBox
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29590 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -243,6 +243,9 @@ void wxHtmlListBox::CacheItem(size_t n) const
|
|||||||
self->m_htmlParser = new wxHtmlWinParser;
|
self->m_htmlParser = new wxHtmlWinParser;
|
||||||
m_htmlParser->SetDC(new wxClientDC(self));
|
m_htmlParser->SetDC(new wxClientDC(self));
|
||||||
m_htmlParser->SetFS(&self->m_filesystem);
|
m_htmlParser->SetFS(&self->m_filesystem);
|
||||||
|
|
||||||
|
// use system's default GUI font by default:
|
||||||
|
m_htmlParser->SetStandardFonts();
|
||||||
}
|
}
|
||||||
|
|
||||||
wxHtmlContainerCell *cell = (wxHtmlContainerCell *)m_htmlParser->
|
wxHtmlContainerCell *cell = (wxHtmlContainerCell *)m_htmlParser->
|
||||||
|
Reference in New Issue
Block a user