Only define NSWindowTabbingModeDisallowed on pre-10.12
This commit is contained in:
parent
8a01ebef63
commit
08db63c3cc
1 changed files with 6 additions and 1 deletions
|
@ -336,14 +336,19 @@ bool ScopedDisableResize::disable_resize_ = false;
|
||||||
|
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
#if !defined(MAC_OS_X_VERSION_10_12)
|
||||||
|
|
||||||
enum {
|
enum {
|
||||||
NSWindowTabbingModeDisallowed = 2
|
NSWindowTabbingModeDisallowed = 2
|
||||||
};
|
};
|
||||||
|
|
||||||
@interface NSWindow (SierraSDK)
|
@interface NSWindow (SierraSDK)
|
||||||
- (void)setTabbingMode:(NSInteger)mode;
|
- (void)setTabbingMode:(NSInteger)mode;
|
||||||
- (void)setTabbingIdentifier:(NSString *)identifier;
|
- (void)setTabbingIdentifier:(NSString*)identifier;
|
||||||
@end
|
@end
|
||||||
|
|
||||||
|
#endif // MAC_OS_X_VERSION_10_12
|
||||||
|
|
||||||
@interface AtomNSWindow : EventDispatchingWindow<QLPreviewPanelDataSource, QLPreviewPanelDelegate, NSTouchBarDelegate> {
|
@interface AtomNSWindow : EventDispatchingWindow<QLPreviewPanelDataSource, QLPreviewPanelDelegate, NSTouchBarDelegate> {
|
||||||
@private
|
@private
|
||||||
atom::NativeWindowMac* shell_;
|
atom::NativeWindowMac* shell_;
|
||||||
|
|
Loading…
Reference in a new issue