comparison win/dw.c @ 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 d953786b2e85
comparison
equal deleted inserted replaced
2146:d38c3aa33c3f 2147:dfc64135adb6
7977 #ifdef TOOLBAR 7977 #ifdef TOOLBAR
7978 else if(_tcsnicmp(tmpbuf, TOOLBARCLASSNAME, _tcslen(TOOLBARCLASSNAME)+1) == 0) 7978 else if(_tcsnicmp(tmpbuf, TOOLBARCLASSNAME, _tcslen(TOOLBARCLASSNAME)+1) == 0)
7979 { 7979 {
7980 #ifdef AEROGLASS 7980 #ifdef AEROGLASS
7981 if(!(_dw_composition && (GetWindowLongPtr(_toplevel_window(box), GWL_EXSTYLE) & WS_EX_LAYERED))) 7981 if(!(_dw_composition && (GetWindowLongPtr(_toplevel_window(box), GWL_EXSTYLE) & WS_EX_LAYERED)))
7982 #endif 7982 #endif
7983 { 7983 {
7984 /* Enable double buffering if our window isn't composited */ 7984 /* Enable double buffering if our window isn't composited */
7985 #ifdef TBSTYLE_EX_DOUBLEBUFFER
7985 SendMessage(item, TB_SETEXTENDEDSTYLE, 0, (LPARAM)TBSTYLE_EX_DOUBLEBUFFER); 7986 SendMessage(item, TB_SETEXTENDEDSTYLE, 0, (LPARAM)TBSTYLE_EX_DOUBLEBUFFER);
7987 #endif
7986 } 7988 }
7987 } 7989 }
7988 #endif 7990 #endif
7989 /* Queue a redraw on the top-level window */ 7991 /* Queue a redraw on the top-level window */
7990 _dw_redraw(_toplevel_window(box), TRUE); 7992 _dw_redraw(_toplevel_window(box), TRUE);