#if wxUSE_HTML && wxUSE_STREAMS
-#ifndef WXPRECOMP
+#ifndef WX_PRECOMP
#endif
#include "wx/html/forcelnk.h"
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;