From 80bd086077555c0c0e379c5467cbce413cfd77a0 Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Wed, 9 Jul 2003 21:56:09 +0000 Subject: [PATCH] use mask for GIFs (part of patch 649438) git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@21815 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/html/m_image.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/html/m_image.cpp b/src/html/m_image.cpp index bc85ae290b..3a24f08ecb 100644 --- a/src/html/m_image.cpp +++ b/src/html/m_image.cpp @@ -500,7 +500,8 @@ void wxHtmlImageCell::AdvanceAnimation(wxTimer *timer) wxBitmap bmp(img); wxMemoryDC dc; dc.SelectObject(*m_bitmap); - dc.DrawBitmap(bmp, m_gifDecoder->GetLeft(), m_gifDecoder->GetTop()); + dc.DrawBitmap(bmp, m_gifDecoder->GetLeft(), m_gifDecoder->GetTop(), + TRUE /* use mask */); } else SetImage(img); -- 2.45.2