Fix up clipping

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@4246 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
fedor 1999-05-13 13:51:57 +00:00
parent 115b3cdbf6
commit 6e14f79d10
7 changed files with 27 additions and 26 deletions

View file

@ -690,7 +690,7 @@ static inline NSPoint centerSizeInRect(NSSize innerSize, NSRect outerRect)
}
else if ([self isBezeled])
{
NSDrawWhiteBezel(cellFrame, cellFrame);
NSDrawWhiteBezel(cellFrame, NSZeroRect);
}
[self drawInteriorWithFrame: cellFrame inView: controlView];
@ -708,9 +708,7 @@ static inline NSPoint centerSizeInRect(NSSize innerSize, NSRect outerRect)
if (cell_highlighted != lit)
{
cell_highlighted = lit;
PSgsave();
[self drawWithFrame: cellFrame inView: controlView];
PSgrestore();
}
}