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 )
{
if ( is )
{
wxImage image(*is);
- if ( image.Ok() )
+ if ( image.IsOk() )
winIface->SetHTMLBackgroundImage(image);
}