]> git.saurik.com Git - wxWidgets.git/commit
Don't consider fully opaque bitmaps as having alpha in wxMSW.
authorVadim Zeitlin <vadim@wxwidgets.org>
Tue, 22 Mar 2011 17:15:49 +0000 (17:15 +0000)
committerVadim Zeitlin <vadim@wxwidgets.org>
Tue, 22 Mar 2011 17:15:49 +0000 (17:15 +0000)
commit20ca5632798e70467bb90624cc66ef1f06ebcd28
treede1b644ce5f0a4f8e2b4a4b5487237ee164b040c
parent23a9142e27a3935a0e6323fc86261e4473177fae
Don't consider fully opaque bitmaps as having alpha in wxMSW.

Remove the alpha channel from the DIB we create not only if all of its pixels
are fully transparent but also if they are all fully opaque. This prevents us
from erroneously creating bitmaps with alpha channel when none is needed nor
expected.

Closes #13056.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@67287 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
src/msw/dib.cpp