X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/93763ad5ba900aecb9220a36ebe7447313ea3e31..6716fce4398b873d0153a487de2a937084ec9b60:/src/html/m_fonts.cpp diff --git a/src/html/m_fonts.cpp b/src/html/m_fonts.cpp index 917a2f0eec..cd33cd2119 100644 --- a/src/html/m_fonts.cpp +++ b/src/html/m_fonts.cpp @@ -67,13 +67,8 @@ TAG_HANDLER_BEGIN(FONT, "FONT" ) if (tag.HasParam(wxT("FACE"))) { if (m_Faces.GetCount() == 0) - { - wxFontEnumerator enu; - enu.EnumerateFacenames(); - const wxArrayString *faces = enu.GetFacenames(); - if ( faces ) - m_Faces = *faces; - } + m_Faces = wxFontEnumerator::GetFacenames(); + wxStringTokenizer tk(tag.GetParam(wxT("FACE")), wxT(",")); int index;