mirror of
https://github.com/gnustep/libs-gui.git
synced 2025-04-23 16:20:46 +00:00
NSWindow: add stub for +windowNumberAtPoint:belowWindowWithWindowNumber:
Add stub for +[NSWindow windowNumberAtPoint:belowWindowWithWindowNumber:] for compatibility purposes.
This commit is contained in:
parent
10d0dce115
commit
3e9cdce801
2 changed files with 11 additions and 0 deletions
|
@ -833,6 +833,11 @@ PACKAGE_SCOPE
|
|||
#endif
|
||||
#endif
|
||||
|
||||
#if OS_API_VERSION(MAC_OS_X_VERSION_10_5, GS_API_LATEST)
|
||||
+ (NSInteger)windowNumberAtPoint:(NSPoint)point
|
||||
belowWindowWithWindowNumber:(NSInteger)windowNumber;
|
||||
#endif
|
||||
|
||||
@end
|
||||
|
||||
@class NSToolbar;
|
||||
|
|
|
@ -5663,6 +5663,12 @@ current key view.<br />
|
|||
return 0;
|
||||
}
|
||||
|
||||
+ (NSInteger)windowNumberAtPoint:(NSPoint)point
|
||||
belowWindowWithWindowNumber:(NSInteger)windowNumber
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
@end
|
||||
|
||||
@implementation NSWindow (Toolbar)
|
||||
|
|
Loading…
Reference in a new issue