Use numeric weight in wxFontBase::operator==

This commit is contained in:
Václav Slavík
2018-09-21 11:29:32 +02:00
committed by Václav Slavík
parent 99565d0619
commit ac6766c2fc

View File

@@ -445,7 +445,7 @@ bool wxFontBase::operator==(const wxFont& font) const
#endif
GetFamily() == font.GetFamily() &&
GetStyle() == font.GetStyle() &&
GetWeight() == font.GetWeight() &&
GetNumericWeight() == font.GetNumericWeight() &&
GetUnderlined() == font.GetUnderlined() &&
GetStrikethrough() == font.GetStrikethrough() &&
GetFaceName().IsSameAs(font.GetFaceName(), false) &&