// wxHtmlWinParser
//-----------------------------------------------------------------------------
+IMPLEMENT_ABSTRACT_CLASS(wxHtmlWinParser, wxHtmlParser)
wxList wxHtmlWinParser::m_Modules;
#endif
m_Container->InsertCell(new wxHtmlColourCell(m_ActualColor));
+ wxColour windowColour = wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW) ;
m_Container->InsertCell(
new wxHtmlColourCell(GetWindow() ?
GetWindow()->GetBackgroundColour() :
- wxSystemSettings::GetColour(wxSYS_COLOUR_WINDOW),
+ windowColour,
wxHTML_CLR_BACKGROUND));
m_Container->InsertCell(new wxHtmlFontCell(CreateCurrentFont()));
}
wxFontEncoding altfix, altnorm;
bool availfix, availnorm;
+#ifndef __WXMAC__
// exact match?
availnorm = wxFontMapper::Get()->IsEncodingAvailable(enc, m_FontFaceNormal);
availfix = wxFontMapper::Get()->IsEncodingAvailable(enc, m_FontFaceFixed);
// okay, let convert to ISO_8859-1, available always
else
m_OutputEnc = wxFONTENCODING_DEFAULT;
+#else
+ // we only have the current system encoding
+ m_OutputEnc = wxFONTENCODING_MACROMAN;
+#endif
m_InputEnc = enc;
if (m_OutputEnc == wxFONTENCODING_DEFAULT)