24 bit depth
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
136518e5c0
commit
4b60ad0d8c
@ -324,12 +324,12 @@ void wxMacCreateBitmapButton( ControlButtonContentInfo*info , const wxBitmap& bi
|
||||
if ( bitmap.GetMask() )
|
||||
{
|
||||
info->u.cIconHandle = wxMacCreateCIcon( MAC_WXHBITMAP(bmap->m_hBitmap) , MAC_WXHBITMAP(bitmap.GetMask()->GetMaskBitmap()) ,
|
||||
8 , bmap->m_width ) ;
|
||||
24 , bmap->m_width ) ;
|
||||
}
|
||||
else
|
||||
{
|
||||
info->u.cIconHandle = wxMacCreateCIcon( MAC_WXHBITMAP(bmap->m_hBitmap) , NULL ,
|
||||
8 , bmap->m_width ) ;
|
||||
24 , bmap->m_width ) ;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user