Mercurial > dwindows
changeset 2147:dfc64135adb6
Win: Fix building with Visual Studio 2005 on Windows 2000.
Windows 2000 builds require removing AEROGLASS.
Also need to install GDIPLUS.DLL or remove GDIPLUS as well.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Sat, 18 Jul 2020 19:34:04 +0000 |
parents | d38c3aa33c3f |
children | 79e9c8080ad9 |
files | win/dw.c |
diffstat | 1 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/win/dw.c Fri Jul 17 02:55:38 2020 +0000 +++ b/win/dw.c Sat Jul 18 19:34:04 2020 +0000 @@ -7979,10 +7979,12 @@ { #ifdef AEROGLASS if(!(_dw_composition && (GetWindowLongPtr(_toplevel_window(box), GWL_EXSTYLE) & WS_EX_LAYERED))) -#endif +#endif { /* Enable double buffering if our window isn't composited */ +#ifdef TBSTYLE_EX_DOUBLEBUFFER SendMessage(item, TB_SETEXTENDEDSTYLE, 0, (LPARAM)TBSTYLE_EX_DOUBLEBUFFER); +#endif } } #endif