X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/82ef81ed9c797178d9868823097e272bfddc4c93..1152bba2806f7a40e09e6b4c6d2ada108bb570cb:/src/common/fontcmn.cpp?ds=sidebyside diff --git a/src/common/fontcmn.cpp b/src/common/fontcmn.cpp index c4416f5bec..99466a583e 100644 --- a/src/common/fontcmn.cpp +++ b/src/common/fontcmn.cpp @@ -29,6 +29,7 @@ #endif #ifndef WX_PRECOMP + #include "wx/dc.h" #include "wx/font.h" #include "wx/intl.h" #include "wx/dcscreen.h" @@ -602,7 +603,7 @@ wxString wxNativeFontInfo::ToUserString() const wxFontEncoding enc = GetEncoding(); if ( enc != wxFONTENCODING_DEFAULT && enc != wxFONTENCODING_SYSTEM ) { - desc << _T(' ') << wxFontMapper::Get()->GetEncodingName(enc); + desc << _T(' ') << wxFontMapper::GetEncodingName(enc); } #endif // wxUSE_FONTMAP