X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/97e490f8b08a906b7abceefcf86e2e2ff7ce5465..99f0dc688742156982e526639d17df4cb9003588:/src/html/m_layout.cpp diff --git a/src/html/m_layout.cpp b/src/html/m_layout.cpp index 2477eb76c6..879f95a761 100644 --- a/src/html/m_layout.cpp +++ b/src/html/m_layout.cpp @@ -300,7 +300,7 @@ TAG_HANDLER_BEGIN(TITLE, "TITLE") wxString title = m_WParser->GetSource()->Mid( tag.GetBeginPos(), tag.GetEndPos1()-tag.GetBeginPos()); -#if !wxUSE_UNICODE +#if !wxUSE_UNICODE && wxUSE_WCHAR_T wxCSConv conv(m_WParser->GetInputEncoding()); title = wxString(title.wc_str(conv), wxConvLocal); #endif