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:
@@ -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;
|
||||
|
Reference in New Issue
Block a user