reverted bitmap depth increases
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31304 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
936170f407
commit
e896726a47
@ -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()) ,
|
||||
24 , bmap->m_width ) ;
|
||||
8 , bmap->m_width ) ;
|
||||
}
|
||||
else
|
||||
{
|
||||
info->u.cIconHandle = wxMacCreateCIcon( MAC_WXHBITMAP(bmap->m_hBitmap) , NULL ,
|
||||
24 , bmap->m_width ) ;
|
||||
8 , bmap->m_width ) ;
|
||||
}
|
||||
}
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user