X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/69941f05864fa8b37856ccc1338124bfac756a2b..0240e8b1aa935d43689b0b8ec36de3c06c1a4758:/src/html/m_list.cpp?ds=sidebyside diff --git a/src/html/m_list.cpp b/src/html/m_list.cpp index feaae666fe..9640d52685 100644 --- a/src/html/m_list.cpp +++ b/src/html/m_list.cpp @@ -10,7 +10,7 @@ #pragma implementation #endif -#include +#include "wx/wxprec.h" #include "wx/defs.h" @@ -21,7 +21,7 @@ #endif #ifndef WXPRECOMP -#include +#include "wx/wx.h" #endif @@ -92,20 +92,20 @@ TAG_HANDLER_BEGIN(OLULLI, "OL,UL,LI") m_WParser -> CloseContainer(); c = m_WParser -> OpenContainer(); - c -> SetWidthFloat(2 * m_WParser -> GetCharWidth(), HTML_UNITS_PIXELS); - c -> SetAlignHor(HTML_ALIGN_RIGHT); + c -> SetWidthFloat(2 * m_WParser -> GetCharWidth(), wxHTML_UNITS_PIXELS); + c -> SetAlignHor(wxHTML_ALIGN_RIGHT); if (m_Numbering == 0) c -> InsertCell(new wxHtmlListmarkCell(m_WParser -> GetDC(), m_WParser -> GetActualColor())); else { wxString mark; - mark.Printf("%i.", m_Numbering); + mark.Printf(wxT("%i."), m_Numbering); c -> InsertCell(new wxHtmlWordCell(mark, *(m_WParser -> GetDC()))); } m_WParser -> CloseContainer(); c = m_WParser -> OpenContainer(); - c -> SetIndent(m_WParser -> GetCharWidth() / 4, HTML_INDENT_LEFT); - c -> SetWidthFloat(-2 * m_WParser -> GetCharWidth(), HTML_UNITS_PIXELS); + c -> SetIndent(m_WParser -> GetCharWidth() / 4, wxHTML_INDENT_LEFT); + c -> SetWidthFloat(-2 * m_WParser -> GetCharWidth(), wxHTML_UNITS_PIXELS); m_WParser -> OpenContainer(); @@ -127,9 +127,9 @@ TAG_HANDLER_BEGIN(OLULLI, "OL,UL,LI") m_WParser -> OpenContainer(); c = m_WParser -> GetContainer(); } - c -> SetAlignHor(HTML_ALIGN_LEFT); - c -> SetIndent(2 * m_WParser -> GetCharWidth(), HTML_INDENT_LEFT); - m_WParser -> OpenContainer() -> SetAlignVer(HTML_ALIGN_TOP); + c -> SetAlignHor(wxHTML_ALIGN_LEFT); + c -> SetIndent(2 * m_WParser -> GetCharWidth(), wxHTML_INDENT_LEFT); + m_WParser -> OpenContainer() -> SetAlignVer(wxHTML_ALIGN_TOP); m_WParser -> OpenContainer(); m_WParser -> OpenContainer();