switched back to old use of DrawBitmap for transparent bitmaps

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Václav Slavík
2000-01-29 01:13:03 +00:00
parent 72fc5caf06
commit 34153050fe

View File

@@ -306,7 +306,8 @@ wxHtmlImageCell::wxHtmlImageCell(wxFSFile *input, int w, int h, int align, wxStr
void wxHtmlImageCell::Draw(wxDC& dc, int x, int y, int view_y1, int view_y2) void wxHtmlImageCell::Draw(wxDC& dc, int x, int y, int view_y1, int view_y2)
{ {
if (m_Image) if (m_Image)
dc.DrawBitmap(*m_Image, x + m_PosX, y + m_PosY, (m_Image->GetMask() != (wxMask*) 0)); // dc.DrawBitmap(*m_Image, x + m_PosX, y + m_PosY, (m_Image->GetMask() != (wxMask*) 0));
dc.DrawBitmap(*m_Image, x + m_PosX, y + m_PosY, TRUE);
wxHtmlCell::Draw(dc, x, y, view_y1, view_y2); wxHtmlCell::Draw(dc, x, y, view_y1, view_y2);
} }