]> git.saurik.com Git - wxWidgets.git/blobdiff - src/unix/fontutil.cpp
define WXGTK12 for GTK+ 1.2.7+ as well
[wxWidgets.git] / src / unix / fontutil.cpp
index d4a2c71f11357c20e43b1265182ccad0b331a03d..9411fc8df67349dba1539c427c3aa1f8b4feb719 100644 (file)
@@ -278,7 +278,9 @@ wxNativeFont wxLoadQueryNearestFont(int pointSize,
         if ( !wxGetNativeFontEncoding(encoding, &info) ||
              !wxTestFontEncoding(info) )
         {
+#if wxUSE_FONTMAP
             if ( !wxTheFontMapper->GetAltForEncoding(encoding, &info) )
+#endif // wxUSE_FONTMAP
             {
                 // unspported encoding - replace it with the default
                 //