CtrlLib: Fix in ChSysInit (thanks Novo)

git-svn-id: svn://ultimatepp.org/upp/trunk@8841 f0d560ea-af0d-0410-9eb7-867de7ffcac7
This commit is contained in:
cxl 2015-08-23 18:36:38 +00:00
commit 28e6304c39
2 changed files with 1 additions and 2 deletions

View file

@ -601,7 +601,7 @@ void ChSysInit()
if(SetProcessDPIAware && Ctrl::IsHiDPIEnabled())
(*SetProcessDPIAware)();
NONCLIENTMETRICS ncm;
#if (WINVER >= 0x0600)
#if (WINVER >= 0x0600 && !defined(__MINGW32_VERSION))
ncm.cbSize = sizeof(ncm) - sizeof(ncm.iPaddedBorderWidth); // WinXP does not like it...
#else
ncm.cbSize = sizeof(ncm);