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

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/branches/WX_2_8_BRANCH@49370 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Robin Dunn
2007-10-23 21:31:43 +00:00
parent ca71c6bf10
commit 06b0c0a39d

View File

@@ -1140,7 +1140,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);
}