Lines Matching refs:index
65 MenuItemIndex index = m_parentMenu->MacGetIndexFromItem( this ) ;
66 DoUpdateItemBitmap( mhandle, index );
69 void wxMenuItem::DoUpdateItemBitmap( WXHMENU menu, wxUint16 index)
73 if ( mhandle == NULL || index == 0)
84 SetMenuItemIconHandle( mhandle , index ,
87 SetMenuItemIconHandle( mhandle , index ,
123 MenuItemIndex index = m_parentMenu->MacGetIndexFromItem( this ) ;
124 if ( mhandle == NULL || index == 0)
127 UMAEnableMenuItem( mhandle , index , m_isEnabled ) ;
129 ::SetItemMark( mhandle , index , 0x12 ) ; // checkmark
131 ::SetItemMark( mhandle , index , 0 ) ; // no mark
133 UMASetMenuItemText( mhandle , index , wxStripMenuCodes(m_text) , wxFont::GetDefaultEncoding() ) ;
135 UMASetMenuItemShortcut( mhandle , index , entry ) ;
146 MenuItemIndex index = m_parentMenu->MacGetIndexFromItem( this ) ;
147 if (mhandle == NULL || index == 0)
157 UMASetMenuItemText( mhandle , index , wxStripMenuCodes(text) , wxFont::GetDefaultEncoding() ) ;
159 UMASetMenuItemShortcut( mhandle , index , entry ) ;
205 // get the index of this item in the menu