TOOLBAR_AddBitmap() and TOOLBAR_ReplaceBitmap() are not supposed to
authorAdam Gundy <arg@cyberscience.com>
Fri, 7 Mar 2003 23:02:46 +0000 (23:02 +0000)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 7 Mar 2003 23:02:46 +0000 (23:02 +0000)
commita4944ff123adc3628ae97c78288c4025a4d58402
treea6e6d756f692583607cd5554cd98e613f4ce1a35
parent7277d20c6935c5c5960523c77867d61a9af7a4ea
TOOLBAR_AddBitmap() and TOOLBAR_ReplaceBitmap() are not supposed to
modify the bitmap - we call ImageList_AddMasked() which turns all
masked pixels black. Fixed by making a copy of the bitmap to give to
ImageList_AddMasked().
dlls/comctl32/toolbar.c