From 87f8a3cf25a21d173212aa7b6c8244175942d6c4 Mon Sep 17 00:00:00 2001 From: Robin Dunn Date: Tue, 23 Oct 2007 21:36:13 +0000 Subject: [PATCH] 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 --- src/msw/graphics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/msw/graphics.cpp b/src/msw/graphics.cpp index a637adf8c4..ba6e529f12 100644 --- a/src/msw/graphics.cpp +++ b/src/msw/graphics.cpp @@ -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); } -- 2.45.2