summaryrefslogtreecommitdiff
path: root/uitask_darwin.go
diff options
context:
space:
mode:
Diffstat (limited to 'uitask_darwin.go')
-rw-r--r--uitask_darwin.go4
1 files changed, 4 insertions, 0 deletions
diff --git a/uitask_darwin.go b/uitask_darwin.go
index 79d582e..2d13b6e 100644
--- a/uitask_darwin.go
+++ b/uitask_darwin.go
@@ -93,6 +93,10 @@ func initCocoa() (NSApp C.id, err error) {
}
C.objc_msgSend_bool(NSApp, _activateIgnoringOtherApps, C.BOOL(C.YES)) // TODO actually do C.NO here? Russ Cox does YES in his devdraw; the docs say the Finder does NO
err = mkAppDelegate()
+ if err != nil {
+ return
+ }
+ err = mkAreaClass()
return
}