Handle becomesKeyOnlyIfNeeded in NSPanel properly.

git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@14508 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
Alexander Malmberg 2002-09-21 23:33:37 +00:00
parent b91e0079e4
commit 61b91e6b57
7 changed files with 94 additions and 3 deletions

View file

@ -325,6 +325,11 @@ static Class textFieldCellClass;
return [self isSelectable];
}
-(BOOL) needsPanelToBecomeKey
{
return [self isEditable];
}
- (BOOL) abortEditing
{
if (_text_object)