See: https://sourceforge.net/p/mingw-w64/bugs/862/
The reported issue is analogous to GetThemeFont(), i.e. see: https://sourceforge.net/p/mingw-w64/feature-requests/82/ https://sourceforge.net/p/mingw-w64/mingw-w64/ci/ac919255813c22aaad9de8b230216f0a8c39d115/ I guess everyone wants the Vista+ version with LOGFONTW. Is the following patch OK? diff --git a/mingw-w64-headers/include/uxtheme.h b/mingw-w64-headers/include/uxtheme.h index 6153986..d4f43c9 100644 --- a/mingw-w64-headers/include/uxtheme.h +++ b/mingw-w64-headers/include/uxtheme.h @@ -353,7 +353,7 @@ THEMEAPI_(COLORREF) GetThemeSysColor(HTHEME hTheme,int iColorId); THEMEAPI_(HBRUSH) GetThemeSysColorBrush(HTHEME hTheme,int iColorId); THEMEAPI_(WINBOOL) GetThemeSysBool(HTHEME hTheme,int iBoolId); THEMEAPI_(int) GetThemeSysSize(HTHEME hTheme,int iSizeId); -THEMEAPI GetThemeSysFont(HTHEME hTheme,int iFontId,LOGFONT *plf); +THEMEAPI GetThemeSysFont(HTHEME hTheme,int iFontId,LOGFONTW *plf); THEMEAPI GetThemeSysString(HTHEME hTheme,int iStringId,LPWSTR pszStringBuff,int cchMaxStringChars); THEMEAPI GetThemeSysInt(HTHEME hTheme,int iIntId,int *piValue); THEMEAPI_(WINBOOL) IsThemeActive(); -- O.S _______________________________________________ Mingw-w64-public mailing list Mingw-w64-public@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/mingw-w64-public