mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-31 00:10:48 +00:00
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:
parent
5c4ecb0014
commit
eb370a013c
7 changed files with 16 additions and 23 deletions
|
@ -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];
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue