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