X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/e4ffab299a1a214fbdd9e3941909323875b32e28..1c16e6df8e49ea69a4b123e5c4de96e97aa1dce6:/src/unix/fontenum.cpp diff --git a/src/unix/fontenum.cpp b/src/unix/fontenum.cpp index 94520acb8d..4ba3e6512d 100644 --- a/src/unix/fontenum.cpp +++ b/src/unix/fontenum.cpp @@ -60,11 +60,13 @@ cmp_families (const void *a, const void *b) bool wxFontEnumerator::EnumerateFacenames(wxFontEncoding encoding, bool fixedWidthOnly) { +#ifndef HAVE_PANGO_FONT_FAMILY_IS_MONOSPACE if ( fixedWidthOnly ) { OnFacename( wxT("monospace") ); } else +#endif { PangoFontFamily **families = NULL; gint n_families = 0; @@ -79,10 +81,14 @@ bool wxFontEnumerator::EnumerateFacenames(wxFontEncoding encoding, for (int i=0; i