X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae71a6e8902557373282bed9395bf3e1c1e546cb..82e94f591f2638b07a4f28c096d94ec7e8571c20:/docs/latex/wx/tnoneng.tex diff --git a/docs/latex/wx/tnoneng.tex b/docs/latex/wx/tnoneng.tex index afae77b9c8..fd5d75fa06 100644 --- a/docs/latex/wx/tnoneng.tex +++ b/docs/latex/wx/tnoneng.tex @@ -94,11 +94,11 @@ You can use \helpref{wxEncodingConverter}{wxencodingconverter} and \helpref{wxFontMapper}{wxfontmapper} to display text: \begin{verbatim} -if (!wxTheFontMapper->IsEncodingAvailable(enc, facename)) +if (!wxFontMapper::Get()->IsEncodingAvailable(enc, facename)) { wxFontEncoding alternative; if (wxTheFontMapper->GetAltForEncoding(enc, &alternative, - facename, FALSE)) + facename, false)) { wxEncodingConverted encconv; if (!encconv.Init(enc, alternative))