]> git.saurik.com Git - wxWidgets.git/blobdiff - src/html/m_fonts.cpp
(blind) compilation fix for wxCocoa
[wxWidgets.git] / src / html / m_fonts.cpp
index 917a2f0eec3d326fe7b584d7bc10664f243818b2..cd33cd2119d9b26cd1c0fd49fa1d5ec770ad1503 100644 (file)
@@ -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;