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@29697 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -578,7 +578,7 @@ void wxNativeFontInfo::SetFaceName(wxString facename)
|
||||
|
||||
void wxNativeFontInfo::SetFamily(wxFontFamily family)
|
||||
{
|
||||
int ff_family;
|
||||
BYTE ff_family;
|
||||
wxString facename;
|
||||
|
||||
switch ( family )
|
||||
@@ -647,7 +647,7 @@ void wxNativeFontInfo::SetEncoding(wxFontEncoding encoding)
|
||||
}
|
||||
}
|
||||
|
||||
lf.lfCharSet = info.charset;
|
||||
lf.lfCharSet = (BYTE)info.charset;
|
||||
}
|
||||
|
||||
bool wxNativeFontInfo::FromString(const wxString& s)
|
||||
|
Reference in New Issue
Block a user