Allow cells to print even when not connected to a window.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@21249 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
FredKiefer 2005-05-22 21:12:08 +00:00
parent 5c4ecb0014
commit eb370a013c
7 changed files with 16 additions and 23 deletions

View file

@ -235,10 +235,6 @@ static NSFont *_leafFont;
NSColor *backColor;
NSWindow *cvWin = [controlView window];
if (!cvWin)
return;
if (_cell.is_highlighted || _cell.state)
{
backColor = [self highlightColorInView: controlView];