diff --git a/src/common/intl.cpp b/src/common/intl.cpp index 42e01b6274..aea952ed77 100644 --- a/src/common/intl.cpp +++ b/src/common/intl.cpp @@ -1006,8 +1006,8 @@ wxFontEncoding wxLocale::GetSystemEncoding() wxString encname = GetSystemEncodingName(); if ( !encname.empty() ) { - return wxFontMapper::CharsetToEncoding(encname, - FALSE /* not interactive */); + return wxTheFontMapper-> + CharsetToEncoding(encname, FALSE /* not interactive */); } #endif // Win32/Unix