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:
Stefan Csomor
2005-01-10 08:52:47 +00:00
parent 936170f407
commit e896726a47

View File

@@ -324,12 +324,12 @@ void wxMacCreateBitmapButton( ControlButtonContentInfo*info , const wxBitmap& bi
if ( bitmap.GetMask() ) if ( bitmap.GetMask() )
{ {
info->u.cIconHandle = wxMacCreateCIcon( MAC_WXHBITMAP(bmap->m_hBitmap) , MAC_WXHBITMAP(bitmap.GetMask()->GetMaskBitmap()) , info->u.cIconHandle = wxMacCreateCIcon( MAC_WXHBITMAP(bmap->m_hBitmap) , MAC_WXHBITMAP(bitmap.GetMask()->GetMaskBitmap()) ,
24 , bmap->m_width ) ; 8 , bmap->m_width ) ;
} }
else else
{ {
info->u.cIconHandle = wxMacCreateCIcon( MAC_WXHBITMAP(bmap->m_hBitmap) , NULL , info->u.cIconHandle = wxMacCreateCIcon( MAC_WXHBITMAP(bmap->m_hBitmap) , NULL ,
24 , bmap->m_width ) ; 8 , bmap->m_width ) ;
} }
} }
else else