#include "wx/html/htmlcell.h"
#include "wx/tokenzr.h"
+#include "wx/encconv.h"
FORCE_LINK_ME(m_pre)
m_WParser -> SetFontBold(FALSE);
m_WParser -> SetFontItalic(FALSE);
m_WParser -> SetFontFixed(TRUE);
- m_WParser -> SetFontSize(0);
+ m_WParser -> SetFontSize(3);
c -> InsertCell(new wxHtmlFontCell(m_WParser -> CreateCurrentFont()));
{
wxString cit;
+ wxEncodingConverter *encconv = m_WParser -> GetEncodingConverter();
cit = m_WParser -> GetSource() -> Mid(tag.GetBeginPos(), tag.GetEndPos1() - tag.GetBeginPos());
- c -> InsertCell(new wxHtmlPRECell(cit, *(m_WParser -> GetDC())));
+ wxString cit2(encconv ? encconv -> Convert(cit) : cit);
+ c -> InsertCell(new wxHtmlPRECell(cit2, *(m_WParser -> GetDC())));
}
m_WParser -> SetFontUnderlined(underlined);