mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-06-01 17:22:10 +00:00
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:
parent
5deeebe455
commit
48413f333b
1 changed files with 0 additions and 2 deletions
|
@ -118,8 +118,6 @@
|
||||||
- (void) drawWithFrame: (NSRect)cellFrame inView: (NSView *)controlView
|
- (void) drawWithFrame: (NSRect)cellFrame inView: (NSView *)controlView
|
||||||
{
|
{
|
||||||
NSDebugLLog(@"NSImageCell", @"NSImageCell -drawWithFrame");
|
NSDebugLLog(@"NSImageCell", @"NSImageCell -drawWithFrame");
|
||||||
// Save last view drawn to
|
|
||||||
[self setControlView: controlView];
|
|
||||||
|
|
||||||
// do nothing if cell's frame rect is zero
|
// do nothing if cell's frame rect is zero
|
||||||
if (NSIsEmptyRect(cellFrame))
|
if (NSIsEmptyRect(cellFrame))
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue