Fixes for drawing button cells.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4887 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Richard Frith-MacDonald 1999-09-14 04:12:30 +00:00
parent 061c43304a
commit 06739272c3
4 changed files with 9 additions and 14 deletions

View file

@ -486,7 +486,7 @@
if ([popb_menu numberOfItems] == 0)
{
[[NSPopUpButtonCell new] drawWithFrame:rect inView:self];
[[NSPopUpButtonCell new] drawWithFrame:bounds inView:self];
return;
}
@ -495,7 +495,7 @@
else
aCell = [[popb_menu itemArray] objectAtIndex:0];
[aCell drawWithFrame:rect inView:self];
[aCell drawWithFrame:bounds inView:self];
}
//