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
|
||||
GetFamily() == font.GetFamily() &&
|
||||
GetStyle() == font.GetStyle() &&
|
||||
GetWeight() == font.GetWeight() &&
|
||||
GetNumericWeight() == font.GetNumericWeight() &&
|
||||
GetUnderlined() == font.GetUnderlined() &&
|
||||
GetStrikethrough() == font.GetStrikethrough() &&
|
||||
GetFaceName().IsSameAs(font.GetFaceName(), false) &&
|
||||
|
Reference in New Issue
Block a user