From: Stefan Csomor Date: Tue, 4 Jan 2005 06:20:54 +0000 (+0000) Subject: 24 bit depth X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/4b60ad0d8c1ea4f840ad0b9b7c11270322634394 24 bit depth git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/mac/carbon/bitmap.cpp b/src/mac/carbon/bitmap.cpp index 67ec567512..2deb6dc221 100644 --- a/src/mac/carbon/bitmap.cpp +++ b/src/mac/carbon/bitmap.cpp @@ -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