Use numeric weight in wxFontBase::operator==
This commit is contained in:
committed by
Václav Slavík
parent
99565d0619
commit
ac6766c2fc
@@ -445,7 +445,7 @@ bool wxFontBase::operator==(const wxFont& font) const
|
|||||||
#endif
|
#endif
|
||||||
GetFamily() == font.GetFamily() &&
|
GetFamily() == font.GetFamily() &&
|
||||||
GetStyle() == font.GetStyle() &&
|
GetStyle() == font.GetStyle() &&
|
||||||
GetWeight() == font.GetWeight() &&
|
GetNumericWeight() == font.GetNumericWeight() &&
|
||||||
GetUnderlined() == font.GetUnderlined() &&
|
GetUnderlined() == font.GetUnderlined() &&
|
||||||
GetStrikethrough() == font.GetStrikethrough() &&
|
GetStrikethrough() == font.GetStrikethrough() &&
|
||||||
GetFaceName().IsSameAs(font.GetFaceName(), false) &&
|
GetFaceName().IsSameAs(font.GetFaceName(), false) &&
|
||||||
|
Reference in New Issue
Block a user