Lines Matching refs:pNewItem
122 NSMenuItem* pNewItem = [pAppMenu insertItemWithTitle: pString in initAppMenu() local
128 if( pNewItem ) in initAppMenu()
130 [pNewItem setTarget: pMainMenuSelector]; in initAppMenu()
137 pNewItem = [pAppMenu insertItemWithTitle: pString in initAppMenu()
143 if( pNewItem ) in initAppMenu()
145 [pNewItem setKeyEquivalentModifierMask: NSCommandKeyMask]; in initAppMenu()
146 [pNewItem setTarget: pMainMenuSelector]; in initAppMenu()
154 pNewItem = [pAppMenu itemAtIndex: 4]; in initAppMenu()
155 if( pNewItem ) in initAppMenu()
158 [pNewItem setTitle: pString]; in initAppMenu()
164 pNewItem = [pAppMenu itemAtIndex: 6]; in initAppMenu()
165 if( pNewItem ) in initAppMenu()
168 [pNewItem setTitle: pString]; in initAppMenu()
174 pNewItem = [pAppMenu itemAtIndex: 7]; in initAppMenu()
175 if( pNewItem ) in initAppMenu()
178 [pNewItem setTitle: pString]; in initAppMenu()
184 pNewItem = [pAppMenu itemAtIndex: 8]; in initAppMenu()
185 if( pNewItem ) in initAppMenu()
188 [pNewItem setTitle: pString]; in initAppMenu()
194 pNewItem = [pAppMenu itemAtIndex: 10]; in initAppMenu()
195 if( pNewItem ) in initAppMenu()
198 [pNewItem setTitle: pString]; in initAppMenu()
478 void AquaSalMenu::addFallbackMenuItem( NSMenuItem* pNewItem ) in addFallbackMenuItem() argument
488 if( rFallbackMenu[i] == pNewItem ) in addFallbackMenuItem()
493 [pNewItem retain]; in addFallbackMenuItem()
494 rFallbackMenu.push_back( pNewItem ); in addFallbackMenuItem()