From 8e0a52ebbcbbbaa54ada0d5682bf58efeb0c43ad Mon Sep 17 00:00:00 2001 From: nico Date: Mon, 25 Oct 1999 22:13:15 +0000 Subject: [PATCH] Crucial fix to make NSControl usable un-subclassed git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@5078 72102866-910b-0410-8b05-ffd578937521 --- Source/NSControl.m | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/Source/NSControl.m b/Source/NSControl.m index 0daa1feef..325b5dac1 100644 --- a/Source/NSControl.m +++ b/Source/NSControl.m @@ -140,10 +140,7 @@ static Class cellClass; */ - (id) selectedCell { - if ([cell state]) - return cell; - else - return nil; + return cell; } - (int) selectedTag