On 10/25/20, JonY via Mingw-w64-public
<mingw-w64-public@lists.sourceforge.net> wrote:
> On 10/24/20 9:36 PM, Ozkan Sezer wrote:
>> 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();
>>
>
> Patch looks good to me.

Applied to master, and to branches down to v5.x.
https://sourceforge.net/p/mingw-w64/mingw-w64/ci/12b5d1344c23c5fdba7fb2c771d0476c2220db16/


_______________________________________________
Mingw-w64-public mailing list
Mingw-w64-public@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public

Reply via email to