Merge pull request #73 from swznd/patch-1

Support macOS older than 10.13
This commit is contained in:
joesis
2018-11-02 19:00:48 -07:00
committed by GitHub
+8
View File
@@ -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