mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 14:30:38 +00:00
* NSCell.m acceptsFirstResponder implement, editWithFrame: adjust further,
selectWithFrame: preliminary implementation. * NSButton.m: acceptsFirstResponder implement. * NSText.m: shouldDrawInsertionPoint test for field editor status. * NSTextField.m: mouseDown: use field editor instead of previous non OS text field cell editor code, textShouldEndEditing: implement. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@3466 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
bf5137b858
commit
cb3439381e
7 changed files with 238 additions and 247 deletions
|
@ -309,10 +309,10 @@ NSView *wv;
|
|||
@selector(windowWillReturnFieldEditor:toObject:)])
|
||||
return [delegate windowWillReturnFieldEditor:self toObject:anObject];
|
||||
|
||||
if (!_fieldEditor && createFlag) // each window has a global
|
||||
{ // text field editor
|
||||
_fieldEditor = [[NSText new] retain];
|
||||
[_fieldEditor setFieldEditor:YES];
|
||||
if(!_fieldEditor && createFlag) // each window has a global
|
||||
{ // text field editor, if it
|
||||
_fieldEditor = [[NSText new] retain]; // doesn't exist create it
|
||||
[_fieldEditor setFieldEditor:YES]; // if create flag is set
|
||||
}
|
||||
|
||||
return _fieldEditor;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue