Warning fixes found under hardest mode of OpenWatcom. Seems clean in Borland, MinGW and DMC.
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@29736 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -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) )
|
||||
{
|
||||
|
Reference in New Issue
Block a user