fixed bug in SetStyle() which wouldn't reset the slant if it had been set before
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@16812 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -432,6 +432,7 @@ void wxNativeFontInfo::SetStyle(wxFontStyle style)
|
|||||||
// fall through
|
// fall through
|
||||||
|
|
||||||
case wxFONTSTYLE_NORMAL:
|
case wxFONTSTYLE_NORMAL:
|
||||||
|
lf.lfItalic = FALSE;
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case wxFONTSTYLE_ITALIC:
|
case wxFONTSTYLE_ITALIC:
|
||||||
|
Reference in New Issue
Block a user