draw the bitmap manually under Win9x and 2000 because they don't support alpha transparency (but wxDC::DrawBitmap() does) (modified patch 1761598)

git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@51031 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
Vadim Zeitlin
2008-01-06 00:51:38 +00:00
parent 6e3e6c8efb
commit a73a4ab75e
2 changed files with 32 additions and 0 deletions

View File

@@ -70,6 +70,11 @@ protected:
void SetImage(const wxGDIImage* image);
void SetImageNoCopy( wxGDIImage* image );
// draw the bitmap ourselves here if the OS can't do it correctly (if it
// can we leave it to it)
void DoPaintManually(wxPaintEvent& event);
// we can have either an icon or a bitmap
bool m_isIcon;
wxGDIImage *m_image;