]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/fontmap.cpp
reverted previous patch applied by mistake
[wxWidgets.git] / src / common / fontmap.cpp
index 827577693bd837daa355beedb7fd8f2d00170f5c..7d4b57ff192b4fb0be33962cf998dc17af093111 100644 (file)
@@ -262,6 +262,8 @@ bool wxFontMapper::TestAltEncoding(const wxString& configEntry,
         {
             GetConfig()->Write(configEntry, info->ToString());
         }
+#else
+        wxUnusedVar(configEntry);
 #endif // wxUSE_CONFIG
         return true;
     }
@@ -468,6 +470,8 @@ bool wxFontMapper::GetAltForEncoding(wxFontEncoding encoding,
         }
     }
     //else: we're in non-interactive mode
+#else
+    wxUnusedVar(equivEncoding);
 #endif // wxUSE_FONTDLG
 
     return foundEquivEncoding;