X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/79e4b6277eec63c346239e8957fed478f5daa6ab..5a41989248f5af10f67bcd526970968c0ba7439d:/src/unix/fontenum.cpp?ds=inline diff --git a/src/unix/fontenum.cpp b/src/unix/fontenum.cpp index a1d374896e..5cd8a26981 100644 --- a/src/unix/fontenum.cpp +++ b/src/unix/fontenum.cpp @@ -30,7 +30,14 @@ #include "wx/fontenum.h" #include "wx/fontutil.h" +#ifdef __VMS__ // Xlib.h for VMS is not (yet) compatible with C++ + // The resulting warnings are switched off here +#pragma message disable nosimpint +#endif #include +#ifdef __VMS__ +#pragma message enable nosimpint +#endif // ---------------------------------------------------------------------------- // private functions @@ -66,11 +73,13 @@ static char **CreateFontList(wxChar spacing, wxNativeEncodingInfo info; wxGetNativeFontEncoding(encoding, &info); +#if wxUSE_FONTMAP if ( !wxTestFontEncoding(info) ) { // ask font mapper for a replacement (void)wxTheFontMapper->GetAltForEncoding(encoding, &info); } +#endif // wxUSE_FONTMAP wxString pattern; pattern.Printf(wxT("-*-*-*-*-*-*-*-*-*-*-%c-*-%s-%s"),