]> git.saurik.com Git - wxWidgets.git/commitdiff
24 bit depth
authorStefan Csomor <csomor@advancedconcepts.ch>
Tue, 4 Jan 2005 06:20:54 +0000 (06:20 +0000)
committerStefan Csomor <csomor@advancedconcepts.ch>
Tue, 4 Jan 2005 06:20:54 +0000 (06:20 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31224 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/mac/carbon/bitmap.cpp

index 67ec56751220ebc2870d375b53315b3c4531777f..2deb6dc221c65989ca3e8984c8ca12d9fad1a9f2 100644 (file)
@@ -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