comctl32 toolbar.c

Ge van Geldorp gvg at reactos.com
Thu Mar 11 10:15:13 CST 2004


Changelog:
  Explicitly ask for image list with screen depth as ILC_COLOR can/will
  limit the depth to 4bpp now

Index: toolbar.c
===================================================================
RCS file: /home/wine/wine/dlls/comctl32/toolbar.c,v
retrieving revision 1.161
diff -u -r1.161 toolbar.c
--- toolbar.c	11 Mar 2004 03:50:10 -0000	1.161
+++ toolbar.c	11 Mar 2004 16:08:37 -0000
@@ -2281,7 +2281,7 @@
 	TRACE ("creating default image list!\n");
 
     himlDef = ImageList_Create (infoPtr->nBitmapWidth, infoPtr->nBitmapHeight, 
-		ILC_COLOR | ILC_MASK, nButtons, 2);
+		ILC_COLORDDB | ILC_MASK, nButtons, 2);
 	TOOLBAR_InsertImageList(&infoPtr->himlDef, &infoPtr->cimlDef, himlDef, 0);
     infoPtr->himlInt = himlDef;
     }




More information about the wine-patches mailing list