Added comment about what looks like a bug

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@15731 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Nicola Pero 2003-01-27 01:13:11 +00:00
parent b3782e2403
commit 9111bb7a75

View file

@ -1690,6 +1690,15 @@ static NSColor *shadowCol;
*/
if ([self isOpaque] == NO)
{
/* FIXME - This looks like potentially generating an
* infinite loop! The control asking the cell to draw
* itself in the rect, the cell asking the control to draw
* the rect, the control asking the cell to draw itself in
* the rect, the cell ...
*
* I think we should remove it. The control is responsible
* for using the cell to draw, not vice versa.
*/
[controlView displayRect: cellFrame];
}
[self drawWithFrame: cellFrame inView: controlView];