Add app.dock.setMenu API

This commit is contained in:
Cheng Zhao 2014-11-16 23:04:31 +08:00
parent ba4f502b1e
commit 0e94977d42
8 changed files with 52 additions and 13 deletions

View file

@ -70,7 +70,8 @@ int EventFlagsFromNSEvent(NSEvent* event) {
@synthesize model = model_;
- (id)init {
self = [super init];
if ((self = [super init]))
[self menu];
return self;
}