X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/89966d5c0d85da5fe64c58b9064af5e89db400e2..9707f3fddd230958262eb90d8f706376c8367cbd:/src/html/winpars.cpp diff --git a/src/html/winpars.cpp b/src/html/winpars.cpp index 2764a914d0..b03d4d256a 100644 --- a/src/html/winpars.cpp +++ b/src/html/winpars.cpp @@ -12,7 +12,7 @@ #pragma implementation #endif -#include +#include "wx/wxprec.h" #include "wx/defs.h" #if wxUSE_HTML @@ -22,7 +22,7 @@ #endif #ifndef WXPRECOMP -#include +#include "wx/wx.h" #endif #include "wx/html/htmldefs.h" @@ -106,7 +106,7 @@ void wxHtmlWinParser::InitParser(const wxString& source) m_Link = ""; m_LinkColor.Set(0, 0, 0xFF); m_ActualColor.Set(0, 0, 0); - m_Align = HTML_ALIGN_LEFT; + m_Align = wxHTML_ALIGN_LEFT; m_tmpLastWasSpace = FALSE; OpenContainer(); @@ -132,7 +132,7 @@ wxObject* wxHtmlWinParser::GetProduct() CloseContainer(); OpenContainer(); - GetContainer() -> SetIndent(m_CharHeight, HTML_INDENT_TOP); + GetContainer() -> SetIndent(m_CharHeight, wxHTML_INDENT_TOP); top = m_Container; while (top -> GetParent()) top = top -> GetParent(); return top; @@ -166,7 +166,7 @@ void wxHtmlWinParser::AddText(const char* txt) { wxHtmlCell *c; int i = 0, x, lng = strlen(txt); - char temp[HTML_BUFLEN]; + char temp[wxHTML_BUFLEN]; register char d; int templen = 0;