mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-05-29 19:47:39 +00:00
Started cleanup of #includes.
git-svn-id: svn+ssh://svn.gna.org/svn/gnustep/libs/gui/trunk@29833 72102866-910b-0410-8b05-ffd578937521
This commit is contained in:
parent
08bcaee5e4
commit
c16eed5d1d
9 changed files with 205 additions and 175 deletions
|
@ -26,8 +26,9 @@
|
|||
Boston, MA 02110-1301, USA.
|
||||
*/
|
||||
|
||||
#include "config.h"
|
||||
#import "config.h"
|
||||
#import <Foundation/NSCoder.h>
|
||||
|
||||
#import "AppKit/NSActionCell.h"
|
||||
#import "AppKit/NSControl.h"
|
||||
|
||||
|
@ -208,6 +209,17 @@ static Class controlClass;
|
|||
return [super intValue];
|
||||
}
|
||||
|
||||
/**
|
||||
* Retrieve the value of the receiver as an NSInteger.
|
||||
*/
|
||||
- (NSInteger) integerValue
|
||||
{
|
||||
if (_cell.in_editing && _control_view)
|
||||
if ([_control_view isKindOfClass: controlClass])
|
||||
[(NSControl *)_control_view validateEditing];
|
||||
return [super integerValue];
|
||||
}
|
||||
|
||||
/**
|
||||
* Set the value of the receiver from anObject.
|
||||
*/
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue