Fixed to draw more efficiently the popup buttons

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@12545 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2002-02-14 13:46:36 +00:00
parent 38e56f0ef9
commit c9d93d5b72

View file

@ -1,3 +1,15 @@
Thu Feb 14 10:45:48 2002 Nicola Pero <n.pero@mi.flashnet.it>
Michael Hanni <mhanni@yahoo.com>
* Source/NSMenuItemCell.m ([-drawStateImageWithFrame:inView:]):
Exit as soon as possible if we have no state image to draw.
([-imageRectForBounds:]), ([-titleRectForBounds:]): Do not pad for
the state image if the state image has no width.
* Source/NSPopUpButtonCell.m ([-insertItemWithTitle:atIndex:]):
Set the On and Mixed image of the new menu item to nil.
([-selectItem:]): Do not call setChangesState: NO on the selected
menu item.
2002-02-13 Richard Frith-Macdonald <rfm@gnu.org> 2002-02-13 Richard Frith-Macdonald <rfm@gnu.org>
* Source/GSTextStoarge.m: Add GSIMap option for minor performance * Source/GSTextStoarge.m: Add GSIMap option for minor performance