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
 | 
			
		||||
 | 
			
		||||
#if !defined(MAC_OS_X_VERSION_10_12)
 | 
			
		||||
 | 
			
		||||
enum {
 | 
			
		||||
  NSWindowTabbingModeDisallowed = 2
 | 
			
		||||
};
 | 
			
		||||
 | 
			
		||||
@interface NSWindow (SierraSDK)
 | 
			
		||||
- (void)setTabbingMode:(NSInteger)mode;
 | 
			
		||||
- (void)setTabbingIdentifier:(NSString *)identifier;
 | 
			
		||||
- (void)setTabbingIdentifier:(NSString*)identifier;
 | 
			
		||||
@end
 | 
			
		||||
 | 
			
		||||
#endif  // MAC_OS_X_VERSION_10_12
 | 
			
		||||
 | 
			
		||||
@interface AtomNSWindow : EventDispatchingWindow<QLPreviewPanelDataSource, QLPreviewPanelDelegate, NSTouchBarDelegate> {
 | 
			
		||||
 @private
 | 
			
		||||
  atom::NativeWindowMac* shell_;
 | 
			
		||||
| 
						 | 
				
			
			
 | 
			
		|||
		Loading…
	
	Add table
		Add a link
		
	
		Reference in a new issue