X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/97e490f8b08a906b7abceefcf86e2e2ff7ce5465..fcdbeefa4e1f033a8c1d0e2a0d4fb521e5e47450:/src/html/m_layout.cpp diff --git a/src/html/m_layout.cpp b/src/html/m_layout.cpp index 2477eb76c6..bc2150ec69 100644 --- a/src/html/m_layout.cpp +++ b/src/html/m_layout.cpp @@ -6,9 +6,6 @@ // Copyright: (c) 1999 Vaclav Slavik // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// -#if defined(__GNUG__) && !defined(NO_GCC_PRAGMA) -#pragma implementation -#endif #include "wx/wxprec.h" @@ -300,7 +297,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