mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 07:00:46 +00:00
Correcting an issue with NSPopUpButtonCell
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@17635 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
c4788b1aa9
commit
5e2097c086
2 changed files with 10 additions and 1 deletions
|
@ -1,3 +1,9 @@
|
|||
2003-09-06 Gregory John Casamento <greg_casamento@yahoo.com>
|
||||
|
||||
* Source/NSPopUpButtonCell.m: -drawInteriorWithFrame:inView:
|
||||
added setEnabled to enable the popup button cell. A previous
|
||||
change was causing all popup button cells to show up as disabled.
|
||||
|
||||
2003-09-06 22:53 Alexander Malmberg <alexander@malmberg.org>
|
||||
|
||||
* Source/NSFont.m (getNSFont): Set the explicit-size bit in the
|
||||
|
|
|
@ -675,7 +675,10 @@ static NSImage *_pbc_image[2];
|
|||
RELEASE(anItem);
|
||||
new = YES;
|
||||
}
|
||||
|
||||
|
||||
/* Enable the menu item cell */
|
||||
[self setEnabled: [[self menuItem] isEnabled]];
|
||||
|
||||
/* We need to calc our size to get images placed correctly */
|
||||
[self calcSize];
|
||||
[super drawInteriorWithFrame: cellFrame inView: controlView];
|
||||
|
|
Loading…
Reference in a new issue