]> git.saurik.com Git - wxWidgets.git/commitdiff
switched back to old use of DrawBitmap for transparent bitmaps
authorVáclav Slavík <vslavik@fastmail.fm>
Sat, 29 Jan 2000 01:13:03 +0000 (01:13 +0000)
committerVáclav Slavík <vslavik@fastmail.fm>
Sat, 29 Jan 2000 01:13:03 +0000 (01:13 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@5727 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/html/m_image.cpp

index ba6fdac6d8dbdeffe4e2a7ea8c70a2a411a0bcd9..cbf2b392b759b29c56cd43f63340bb3e3d7a3dfb 100644 (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)
 {
     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);
 }