Alexandre Julliard : appwiz.cpl: Create a 32-bpp image list to get alpha blended icons.

Alexandre Julliard julliard at winehq.org
Mon Jun 14 13:01:15 CDT 2010


Module: wine
Branch: master
Commit: 14d1b7a51dbbade26517beb84c489ec1ee615049
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=14d1b7a51dbbade26517beb84c489ec1ee615049

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Sun Jun 13 16:50:49 2010 +0200

appwiz.cpl: Create a 32-bpp image list to get alpha blended icons.

---

 dlls/appwiz.cpl/appwiz.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/dlls/appwiz.cpl/appwiz.c b/dlls/appwiz.cpl/appwiz.c
index 2b68ee7..ffd2b24 100644
--- a/dlls/appwiz.cpl/appwiz.c
+++ b/dlls/appwiz.cpl/appwiz.c
@@ -745,7 +745,7 @@ static HIMAGELIST AddListViewImageList(HWND hWnd)
     HICON hDefaultIcon;
 
     hSmall = ImageList_Create(GetSystemMetrics(SM_CXSMICON), GetSystemMetrics(SM_CYSMICON),
-        ILC_MASK, 1, 1);
+                              ILC_COLOR32 | ILC_MASK, 1, 1);
 
     /* Add default icon to image list */
     hDefaultIcon = LoadIconW(hInst, MAKEINTRESOURCEW(ICO_MAIN));




More information about the wine-cvs mailing list