mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 03:00:37 +00:00
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:
parent
061c43304a
commit
06739272c3
4 changed files with 9 additions and 14 deletions
|
@ -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];
|
||||
}
|
||||
|
||||
//
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue