diff options
Diffstat (limited to 'cocoa/PSMTabBarControl/PSMTabBarController.h')
-rw-r--r-- | cocoa/PSMTabBarControl/PSMTabBarController.h | 17 |
1 files changed, 11 insertions, 6 deletions
diff --git a/cocoa/PSMTabBarControl/PSMTabBarController.h b/cocoa/PSMTabBarControl/PSMTabBarController.h index c675b981e..447011f44 100644 --- a/cocoa/PSMTabBarControl/PSMTabBarController.h +++ b/cocoa/PSMTabBarControl/PSMTabBarController.h @@ -10,12 +10,17 @@ @class PSMTabBarControl, PSMTabBarCell; -@interface PSMTabBarController : NSObject { - PSMTabBarControl *_control; - NSMutableArray *_cellTrackingRects, *_closeButtonTrackingRects; - NSMutableArray *_cellFrames; - NSRect _addButtonRect; - NSMenu *_overflowMenu; +@interface PSMTabBarController : NSObject +#if __MAC_OS_X_VERSION_MIN_REQUIRED >= 1060 + <NSMenuDelegate> +#endif +{ + PSMTabBarControl *_control; + NSMutableArray *_cellTrackingRects; + NSMutableArray *_closeButtonTrackingRects; + NSMutableArray *_cellFrames; + NSRect _addButtonRect; + NSMenu *_overflowMenu; } - (id)initWithTabBarControl:(PSMTabBarControl *)control; |