#pragma implementation
#endif
-#include <wx/wxprec.h>
+#include "wx/wxprec.h"
#include "wx/defs.h"
#if wxUSE_HTML
#endif
#ifndef WXPRECOMP
-#include <wx/wx.h>
+#include "wx/wx.h"
#endif
#include "wx/html/forcelnk.h"
wxColour oldclr = m_WParser -> GetActualColor();
int oldsize = m_WParser -> GetFontSize();
- if (tag.HasParam("COLOR")) {
+ if (tag.HasParam(wxT("COLOR"))) {
unsigned long tmp = 0;
wxColour clr;
- if (tag.ScanParam("COLOR", "#%lX", &tmp) == 1) {
+ if (tag.ScanParam(wxT("COLOR"), wxT("#%lX"), &tmp) == 1) {
clr = wxColour((tmp & 0xFF0000) >> 16 , (tmp & 0x00FF00) >> 8, (tmp & 0x0000FF));
m_WParser -> SetActualColor(clr);
m_WParser -> GetContainer() -> InsertCell(new wxHtmlColourCell(clr));
}
}
- if (tag.HasParam("SIZE")) {
+ if (tag.HasParam(wxT("SIZE"))) {
long tmp = 0;
- if (tag.ScanParam("SIZE", "%li", &tmp) == 1) {
+ if (tag.ScanParam(wxT("SIZE"), wxT("%li"), &tmp) == 1) {
m_WParser -> SetFontSize(oldsize+tmp);
m_WParser -> GetContainer() -> InsertCell(new wxHtmlFontCell(m_WParser -> CreateCurrentFont()));
}