X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/cc638fc6ad89729010ec8e2be435cadd8a161c8b..b6c588e1a65704bd5f3707b0e691a957ad43a148:/src/html/winpars.cpp diff --git a/src/html/winpars.cpp b/src/html/winpars.cpp index 2148fa371e..4681967547 100644 --- a/src/html/winpars.cpp +++ b/src/html/winpars.cpp @@ -29,6 +29,7 @@ #include "wx/html/winpars.h" #include "wx/html/htmlwin.h" #include "wx/fontmap.h" +#include "wx/log.h" //----------------------------------------------------------------------------- @@ -353,6 +354,8 @@ void wxHtmlWinParser::SetInputEncoding(wxFontEncoding enc) wxFONTENCODING_ISO8859_1 : m_OutputEnc, wxCONVERT_SUBSTITUTE)) { // total failture :-( + wxLogError(_("Failed to display HTML document in %s encoding"), + wxFontMapper::GetEncodingName(enc).mb_str()); m_InputEnc = m_OutputEnc = wxFONTENCODING_DEFAULT; delete m_EncConv; m_EncConv = NULL;