# HG changeset patch # User bsmith@81767d24-ef19-dc11-ae90-00e081727c95 # Date 1595100844 0 # Node ID dfc64135adb6ceb3ec14fa2c8682f3df7dfd1076 # Parent d38c3aa33c3fd8dc040edff26dea3bc4d242f10e 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. diff -r d38c3aa33c3f -r dfc64135adb6 win/dw.c --- 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