From: Vadim Zeitlin Date: Tue, 27 Aug 2002 16:05:35 +0000 (+0000) Subject: fixed bug in SetStyle() which wouldn't reset the slant if it had been set before X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/a38d0585257e8e72fcba090846506503bce0ff6a?ds=inline 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 --- diff --git a/src/msw/font.cpp b/src/msw/font.cpp index c1d032c476..4cd6532a0c 100644 --- a/src/msw/font.cpp +++ b/src/msw/font.cpp @@ -432,6 +432,7 @@ void wxNativeFontInfo::SetStyle(wxFontStyle style) // fall through case wxFONTSTYLE_NORMAL: + lf.lfItalic = FALSE; break; case wxFONTSTYLE_ITALIC: