]> git.saurik.com Git - wxWidgets.git/blobdiff - src/common/fontcmn.cpp
fixed new charset detection code (langinfo.h not included in intl.cpp; langinfo.h...
[wxWidgets.git] / src / common / fontcmn.cpp
index 44cca93b72ba2254feb4fb44232735958674d962..d785a3339ad42eb8a98db329de51fd35bb0b3db1 100644 (file)
@@ -104,6 +104,8 @@ void wxFontBase::SetNativeFontInfo(const wxNativeFontInfo& info)
     SetUnderlined(info.underlined);
     SetFaceName(info.faceName);
     SetEncoding(info.encoding);
+#else
+       (void)info;     
 #endif
 }
 
@@ -212,7 +214,7 @@ bool wxNativeFontInfo::FromString(const wxString& s)
     //
     //  Ignore the version for now
     //
-    
+
     token = tokenizer.GetNextToken();
     if ( !token.ToLong(&l) )
         return FALSE;