use bitmap mask if any in splash screen (closes #10470)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@58746 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -155,7 +155,8 @@ static void wxDrawSplashBitmap(wxDC& dc, const wxBitmap& bitmap, int WXUNUSED(x)
|
||||
#endif // USE_PALETTE_IN_SPLASH
|
||||
|
||||
dcMem.SelectObjectAsSource(bitmap);
|
||||
dc.Blit(0, 0, bitmap.GetWidth(), bitmap.GetHeight(), & dcMem, 0, 0);
|
||||
dc.Blit(0, 0, bitmap.GetWidth(), bitmap.GetHeight(), &dcMem, 0, 0, wxCOPY,
|
||||
true /* use mask */);
|
||||
dcMem.SelectObject(wxNullBitmap);
|
||||
|
||||
#ifdef USE_PALETTE_IN_SPLASH
|
||||
|
Reference in New Issue
Block a user