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:
fredkiefer 2012-08-17 13:16:12 +00:00
parent cd19623e53
commit ae0a552cc0
12 changed files with 209 additions and 40 deletions

View file

@ -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;
}