X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/93692400d0a9f89cf013e1e101701eae0a541a59..1d7609197ed33bc76c8212705f305fe7cc33d62f:/src/msw/font.cpp diff --git a/src/msw/font.cpp b/src/msw/font.cpp index 918e7c06d2..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: @@ -635,7 +636,7 @@ wxString wxNativeFontInfo::ToString() const { wxString s; - s.Printf(_T("%d;%d;%d;%d;%d;%d;%d;%d;%d;%d;%d;%d;%d;%d;%s"), + s.Printf(_T("%d;%ld;%ld;%ld;%ld;%ld;%d;%d;%d;%d;%d;%d;%d;%d;%s"), 0, // version, in case we want to change the format later lf.lfHeight, lf.lfWidth,