]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/font.cpp
reverted last commit, still broken for VC6
[wxWidgets.git] / src / msw / font.cpp
index 4b96f6029e525fa89342364ffec65c9bfcc9a25a..7a718ff004639cffc08ae026b9b6c2b2dcc7b8a3 100644 (file)
@@ -615,7 +615,7 @@ void wxNativeFontInfo::SetFamily(wxFontFamily family)
             facename = _T("MS Sans Serif");
     }
 
-    lf.lfPitchAndFamily = DEFAULT_PITCH | ff_family;
+    lf.lfPitchAndFamily = (BYTE)(DEFAULT_PITCH) | ff_family;
 
     if ( !wxStrlen(lf.lfFaceName) )
     {