mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-22 17:52:42 +00:00
NSControl: create stub for -sizeThatFits:
Create a stub for the -[NSControl sizeThatFits:] function.
This commit is contained in:
parent
16b0299916
commit
e9b0367207
2 changed files with 10 additions and 0 deletions
|
@ -90,6 +90,10 @@
|
|||
- (void) takeIntegerValueFrom: (id)sender;
|
||||
#endif
|
||||
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_10, GS_API_LATEST)
|
||||
- (NSSize) sizeThatFits: (NSSize)size;
|
||||
#endif
|
||||
|
||||
- (void) setStringValue: (NSString *)aString;
|
||||
- (NSString *) stringValue;
|
||||
|
||||
|
|
|
@ -1122,6 +1122,12 @@ static NSNotificationCenter *nc;
|
|||
}
|
||||
}
|
||||
|
||||
- (NSSize) sizeThatFits: (NSSize)size
|
||||
{
|
||||
// FIXME: This is a stub
|
||||
return size;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
@implementation NSControl(KeyViewLoop)
|
||||
|
|
Loading…
Reference in a new issue