X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/93763ad5ba900aecb9220a36ebe7447313ea3e31..94f6d685cb30a8e62d21254bbf19902b48eb2443:/src/html/m_pre.cpp?ds=sidebyside diff --git a/src/html/m_pre.cpp b/src/html/m_pre.cpp index 675d916321..5afcbbc6b7 100644 --- a/src/html/m_pre.cpp +++ b/src/html/m_pre.cpp @@ -15,7 +15,7 @@ #if wxUSE_HTML && wxUSE_STREAMS -#ifndef WXPRECOMP +#ifndef WX_PRECOMP #endif #include "wx/html/forcelnk.h" @@ -35,7 +35,7 @@ static wxString LINKAGEMODE HtmlizeWhitespaces(const wxString& str) size_t linepos = 0; for (size_t i = 0; i < len; i++) { - switch (str[i]) + switch ( str[i].GetValue() ) { case wxT('<'): while (i < len && str[i] != wxT('>'))