From a988befc45eb0bbd01f813bee083c11b53ddec66 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sat, 1 Mar 2014 15:35:42 -0500 Subject: [PATCH] Whoops, misspelled -[NSWindow frame] as -[NSWindow _frame]. Fixed; test program works so far! --- sysdata_darwin.go | 2 +- todo.md | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/sysdata_darwin.go b/sysdata_darwin.go index c50eeed..33fd1e8 100644 --- a/sysdata_darwin.go +++ b/sysdata_darwin.go @@ -38,7 +38,7 @@ var ( _title = sel_getUid("title") _stringValue = sel_getUid("stringValue") // TODO others - _frame = sel_getUid("_frame") + _frame = sel_getUid("frame") _setFrameDisplay = sel_getUid("setFrame:display:") ) diff --git a/todo.md b/todo.md index 9558d8c..3c8c140 100644 --- a/todo.md +++ b/todo.md @@ -25,6 +25,7 @@ so I don't forget: important things: - ui.Go() should exit when the main() you pass in exits - because the main event loop is not called if initialization fails, it is presently impossible for MsgBoxError() to work if UI initialization fails; this basically means we cannot allow initializiation to fail on Mac OS X if we want to be able to report UI init failures to the user with one +- Cocoa windows seem to ignore the minizeable flag and closing them always works (is the latter because I don't have a delegate yet?) - there's no GTK+ error handling whatsoever; we need to figure out how it works - make sure GTK+ documentation point differences don't matter - button sizes and LineEdit sizes on Windows seem too big; Comboboxes have margins