]> git.saurik.com Git - wxWidgets.git/blobdiff - src/msw/fontenum.cpp
Add comments explaining the workaround for mingw 3.2.3
[wxWidgets.git] / src / msw / fontenum.cpp
index 07a79b78f4909e289fc78f99b9a753ae646a43f2..8dca8b0909b1452143db2d93bdc2e74d30df23ad 100644 (file)
@@ -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,