]> git.saurik.com Git - wxWidgets.git/blobdiff - docs/latex/wx/tnoneng.tex
updated for new/better way of declaring wxART_xxx constants
[wxWidgets.git] / docs / latex / wx / tnoneng.tex
index afae77b9c8bf8418f72e924ae6b9c2c56c2f2856..fd5d75fa067d0e0a22a1607c9132d568f3b67467 100644 (file)
@@ -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))