NSImageCell is not a subclass of NSActionCell so should not save

last control view drawn to


git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5488 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
nico 1999-12-13 16:17:49 +00:00
parent 5deeebe455
commit 48413f333b

View file

@ -118,8 +118,6 @@
- (void) drawWithFrame: (NSRect)cellFrame inView: (NSView *)controlView
{
NSDebugLLog(@"NSImageCell", @"NSImageCell -drawWithFrame");
// Save last view drawn to
[self setControlView: controlView];
// do nothing if cell's frame rect is zero
if (NSIsEmptyRect(cellFrame))