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
This commit is contained in:
Vadim Zeitlin
2003-07-09 21:56:09 +00:00
parent 30ed6e5c89
commit 80bd086077

View File

@@ -500,7 +500,8 @@ void wxHtmlImageCell::AdvanceAnimation(wxTimer *timer)
wxBitmap bmp(img); wxBitmap bmp(img);
wxMemoryDC dc; wxMemoryDC dc;
dc.SelectObject(*m_bitmap); 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 else
SetImage(img); SetImage(img);