X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c0c133e13b36a923c65f94499554e432bc3a0daa..7112cdd1f3c4730391cf0a562f4d7dcee8676f07:/src/html/m_layout.cpp diff --git a/src/html/m_layout.cpp b/src/html/m_layout.cpp index 02d38228cd..c54b437c86 100644 --- a/src/html/m_layout.cpp +++ b/src/html/m_layout.cpp @@ -285,7 +285,7 @@ TAG_HANDLER_BEGIN(TITLE, "TITLE") if (winIface) { wxString title(tag.GetBeginIter(), tag.GetEndIter1()); -#if !wxUSE_UNICODE && wxUSE_WCHAR_T +#if !wxUSE_UNICODE const wxFontEncoding enc = m_WParser->GetInputEncoding(); if ( enc != wxFONTENCODING_DEFAULT ) { @@ -340,7 +340,7 @@ TAG_HANDLER_BEGIN(BODY, "BODY") if ( is ) { wxImage image(*is); - if ( image.Ok() ) + if ( image.IsOk() ) winIface->SetHTMLBackgroundImage(image); }