X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2e2b69eececf83c7097435e1f4482cc153e8d82c..b9efe021b554fa3967d1442cf758435c5cd5ae8f:/src/msw/fontenum.cpp diff --git a/src/msw/fontenum.cpp b/src/msw/fontenum.cpp index 07a79b78f4..8dca8b0909 100644 --- a/src/msw/fontenum.cpp +++ b/src/msw/fontenum.cpp @@ -166,7 +166,7 @@ void wxFontEnumeratorHelper::DoEnumerate() (LPARAM)this) ; #else // __WIN32__ LOGFONT lf; - lf.lfCharSet = m_charset; + lf.lfCharSet = (BYTE)m_charset; wxStrncpy(lf.lfFaceName, m_facename, WXSIZEOF(lf.lfFaceName)); lf.lfPitchAndFamily = 0; ::EnumFontFamiliesEx(hDC, &lf, (wxFONTENUMPROC)wxFontEnumeratorProc,