/////////////////////////////////////////////////////////////////////////////
-// Name: m_fonts.cpp
+// Name: src/html/m_fonts.cpp
// Purpose: wxHtml module for fonts & colors of fonts
// Author: Vaclav Slavik
// RCS-ID: $Id$
#include "wx/wxprec.h"
-#include "wx/defs.h"
-#if wxUSE_HTML && wxUSE_STREAMS
-
#ifdef __BORLANDC__
-#pragma hdrstop
+ #pragma hdrstop
#endif
+#if wxUSE_HTML && wxUSE_STREAMS
+
#ifndef WXPRECOMP
#endif
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;