X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/ae71a6e8902557373282bed9395bf3e1c1e546cb..a84ece11fffdde5d1bbd254ba58ac3cee79c2e77:/docs/latex/wx/tnoneng.tex?ds=inline

diff --git a/docs/latex/wx/tnoneng.tex b/docs/latex/wx/tnoneng.tex
index afae77b9c8..084c807e94 100644
--- a/docs/latex/wx/tnoneng.tex
+++ b/docs/latex/wx/tnoneng.tex
@@ -94,7 +94,7 @@ 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, 
