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:
Vadim Zeitlin
2002-08-27 16:05:35 +00:00
parent ef66935925
commit a38d058525

View File

@@ -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: