+ if ( m_buttonBitmap.GetMask() )
+ {
+ info.contentType = kControlContentCIconHandle ;
+ info.u.cIconHandle = wxMacCreateCIcon( bmap->m_hBitmap , m_buttonBitmap.GetMask()->GetMaskBitmap() ,
+ 8 , 16 ) ;
+ }
+ else
+ {
+ info.contentType = kControlContentCIconHandle ;
+ info.u.cIconHandle = wxMacCreateCIcon( bmap->m_hBitmap , NULL ,
+ 8 , 16 ) ;
+ }
+ }
+ else if ( bmap->m_bitmapType == kMacBitmapTypeIcon )
+ {
+ info.contentType = kControlContentCIconHandle ;
+ info.u.cIconHandle = bmap->m_hIcon ;