]> git.saurik.com Git - wxWidgets.git/blobdiff - src/os2/fontutil.cpp
Last correction for makefile.g95: win32 mkdir does not like forward slashes as directory
[wxWidgets.git] / src / os2 / fontutil.cpp
index 7fb1ff865ce045b0c4ede82d4ecdb338861a6a7d..fe12e118393a9ae102f58728a39cd270a7fd4e18 100644 (file)
@@ -332,9 +332,9 @@ void wxFillLogFont(
                                  ,&vInfo
                                 ))
     {
                                  ,&vInfo
                                 ))
     {
-        if ( !wxTheFontMapper->GetAltForEncoding( vEncoding
-                                                 ,&vInfo
-                                                ))
+#if wxUSE_FONTMAP
+        if (!wxTheFontMapper->GetAltForEncoding(vEncoding, &vInfo))
+#endif // wxUSE_FONTMAP
         {
             //
             // Unsupported encoding, replace with the default
         {
             //
             // Unsupported encoding, replace with the default