Fixes to allow compilation with no wchar_t (djgpp probably has a real wchar_t
now, I will check, but compilation should work without anyway). git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@33834 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user