From 08dfb5da2034c33b68d7247dd16925960b3b88a3 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 30 Mar 2014 11:19:13 -0400 Subject: Attempted to add the Area bare bones and resizing code to the Mac OS X backend. It complains that initWithFrame: is not implemented... --- uitask_darwin.go | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'uitask_darwin.go') 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 } -- cgit v1.2.3