From b7f51b1483ff5ebb5b0ece83aeddc4aa7054d346 Mon Sep 17 00:00:00 2001 From: Ozkan Sezer Date: Sun, 25 Oct 2020 03:40:02 +0300 Subject: [PATCH] change GetThemeSysFont() to accept a LOGFONTW* parameter (bug #862) Closes: https://sourceforge.net/p/mingw-w64/bugs/862/ (cherry picked from commit 12b5d1344c23c5fdba7fb2c771d0476c2220db16) --- mingw-w64-headers/include/uxtheme.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mingw-w64-headers/include/uxtheme.h b/mingw-w64-headers/include/uxtheme.h index 61539860d..d4f43c98a 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();