mirror of
https://github.com/netbirdio/systray.git
synced 2026-05-22 17:08:41 -07:00
Merge pull request #73 from swznd/patch-1
Support macOS older than 10.13
This commit is contained in:
@@ -1,6 +1,14 @@
|
||||
#import <Cocoa/Cocoa.h>
|
||||
#include "systray.h"
|
||||
|
||||
#ifndef NSControlStateValueOff
|
||||
#define NSControlStateValueOff NSOffState
|
||||
#endif
|
||||
|
||||
#ifndef NSControlStateValueOn
|
||||
#define NSControlStateValueOn NSOnState
|
||||
#endif
|
||||
|
||||
@interface MenuItem : NSObject
|
||||
{
|
||||
@public
|
||||
|
||||
Reference in New Issue
Block a user