X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/19193a2c85987b595932957e73013e7ea100f0e8..6f7c5199ed9bc29507d426b13db9346bf1860005:/src/os2/fontenum.cpp?ds=inline diff --git a/src/os2/fontenum.cpp b/src/os2/fontenum.cpp index 476798911f..26a1043932 100644 --- a/src/os2/fontenum.cpp +++ b/src/os2/fontenum.cpp @@ -99,7 +99,7 @@ bool wxFontEnumeratorHelper::SetEncoding(wxFontEncoding encoding) wxNativeEncodingInfo info; if ( !wxGetNativeFontEncoding(encoding, &info) ) { - if ( !wxTheFontMapper->GetAltForEncoding(encoding, &info) ) + if ( !wxFontMapper::Get()->GetAltForEncoding(encoding, &info) ) { // no such encodings at all return FALSE;