X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/8bf30fe9b0b40d1a6f54608588121212c2c4e037..d21d2e5adf7a5acf3b496a9c4e87eab220bd75d8:/src/common/fontcmn.cpp diff --git a/src/common/fontcmn.cpp b/src/common/fontcmn.cpp index 44cca93b72..1a8b50c376 100644 --- a/src/common/fontcmn.cpp +++ b/src/common/fontcmn.cpp @@ -104,6 +104,8 @@ void wxFontBase::SetNativeFontInfo(const wxNativeFontInfo& info) SetUnderlined(info.underlined); SetFaceName(info.faceName); SetEncoding(info.encoding); +#else + (void)info; #endif } @@ -138,6 +140,7 @@ bool wxFontBase::operator==(const wxFont& font) const GetPointSize() == font.GetPointSize() && GetFamily() == font.GetFamily() && GetStyle() == font.GetStyle() && + GetWeight() == font.GetWeight() && GetUnderlined() == font.GetUnderlined() && GetFaceName() == font.GetFaceName() && GetEncoding() == font.GetEncoding() @@ -212,7 +215,7 @@ bool wxNativeFontInfo::FromString(const wxString& s) // // Ignore the version for now // - + token = tokenizer.GetNextToken(); if ( !token.ToLong(&l) ) return FALSE;