Fix strike-through support in wxFont with GDI+
Pass down the strike-through flag to GDI+ (see #9907). Closes #17372.
This commit is contained in:
committed by
Vadim Zeitlin
parent
d7d5bcaae6
commit
ccd361c98f
@@ -962,6 +962,8 @@ wxGDIPlusFontData::wxGDIPlusFontData( wxGraphicsRenderer* renderer,
|
||||
style |= FontStyleItalic;
|
||||
if ( font.GetUnderlined() )
|
||||
style |= FontStyleUnderline;
|
||||
if ( font.GetStrikethrough() )
|
||||
style |= FontStyleStrikeout;
|
||||
if ( font.GetWeight() == wxFONTWEIGHT_BOLD )
|
||||
style |= FontStyleBold;
|
||||
|
||||
|
Reference in New Issue
Block a user