mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 13:00:37 +00:00
* Source/NSMenuView.m:
New private method [NSMenuView -_itemCell] in newly created GNUstepPrivate category. * Source/NSMenu.m: Add GNUstepPrivate interface of NSMenuView. [NSMenu -_setOwnedByPopUp:]: update itemCells' menuView (fix NSPopUpButtonCell-decoding problem). * Source/NSPopUpButtonCell.m ([NSPopUpButtonCell -synchronizeTitleAndSelectedItem]): Fix "mouseUp outside of menu" problem. Now the previous selected item stay selected. ([NSPopUpButtonCell -initWithCoder:]): Set the selectedItem properly. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14446 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
d2342fdf45
commit
0bf1a03438
4 changed files with 46 additions and 2 deletions
|
@ -1175,3 +1175,10 @@ _addLeftBorderOffsetToRect(NSRect aRect, BOOL isHorizontal)
|
|||
}
|
||||
|
||||
@end
|
||||
|
||||
@implementation NSMenuView (GNUstepPrivate)
|
||||
- (NSArray *)_itemCells
|
||||
{
|
||||
return _itemCells;
|
||||
}
|
||||
@end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue