mirror of
https://github.com/ultimatepp/ultimatepp.git
synced 2026-10-06 00:30:10 -06:00
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:
parent
0004c73037
commit
28e6304c39
2 changed files with 1 additions and 2 deletions
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in a new issue