mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-30 14:50:38 +00:00
Merged changes from gnustep_testplant_branch branch and cleaned them up
a bit. git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@35417 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
cd19623e53
commit
ae0a552cc0
12 changed files with 209 additions and 40 deletions
|
@ -246,7 +246,7 @@ static Class textFieldCellClass;
|
|||
/** <p>Sets the delegate to <var>anObject</var>.</p>
|
||||
<p>See Also: -delegate</p>
|
||||
*/
|
||||
- (void) setDelegate: (id)anObject
|
||||
- (void) setDelegate: (id<NSTextFieldDelegate>)anObject
|
||||
{
|
||||
if (_delegate)
|
||||
[nc removeObserver: _delegate name: nil object: self];
|
||||
|
@ -266,7 +266,7 @@ static Class textFieldCellClass;
|
|||
/** <p>Returns the delegate object.</p>
|
||||
<p>See Also: -setDelegate:</p>
|
||||
*/
|
||||
- (id) delegate
|
||||
- (id<NSTextFieldDelegate>) delegate
|
||||
{
|
||||
return _delegate;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue