Use premultiplied alpha pixel format to match what is used everywhere else in wxMSW.

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@49371 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2007-10-23 21:36:13 +00:00
parent 672e58d9e8
commit 87f8a3cf25

View File

@@ -1043,7 +1043,7 @@ void wxGDIPlusContext::DrawBitmap( const wxBitmap &bmp, wxDouble x, wxDouble y,
helper->GetPixelFormat(),&data);
image = new Bitmap(data.Width, data.Height, data.Stride,
PixelFormat32bppARGB , (BYTE*) data.Scan0);
PixelFormat32bppPARGB , (BYTE*) data.Scan0);
helper->UnlockBits(&data);
}