#include "wx/defs.h"
#if wxUSE_HTML && wxUSE_STREAMS
-#ifdef __BORDLANDC__
+#ifdef __BORLANDC__
#pragma hdrstop
#endif
FORCE_LINK_ME(m_fonts)
-TAG_HANDLER_BEGIN(FONT, "FONT")
+TAG_HANDLER_BEGIN(FONT, "FONT" )
TAG_HANDLER_VARS
- wxSortedArrayString m_Faces;
+ wxArrayString m_Faces;
TAG_HANDLER_PROC(tag)
{
while (tk.HasMoreTokens())
{
- if ((index = m_Faces.Index(tk.GetNextToken())) != wxNOT_FOUND)
+ if ((index = m_Faces.Index(tk.GetNextToken(), FALSE)) != wxNOT_FOUND)
{
m_WParser->SetFontFace(m_Faces[index]);
m_WParser->GetContainer()->InsertCell(new wxHtmlFontCell(m_WParser->CreateCurrentFont()));
}
c = m_WParser->GetContainer();
- if (c->GetFirstCell())
+ if (c->GetFirstChild())
{
m_WParser->CloseContainer();
m_WParser->OpenContainer();