diff options
| author | Pietro Gagliardi <[email protected]> | 2014-03-01 15:35:42 -0500 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-03-01 15:35:42 -0500 |
| commit | a988befc45eb0bbd01f813bee083c11b53ddec66 (patch) | |
| tree | de9eaab785774561208c985950f9635125e1aecc | |
| parent | cd7c127fcc9ce250a560fa0efd43ad3a430bd8d0 (diff) | |
Whoops, misspelled -[NSWindow frame] as -[NSWindow _frame]. Fixed; test program works so far!
| -rw-r--r-- | sysdata_darwin.go | 2 | ||||
| -rw-r--r-- | todo.md | 1 |
2 files changed, 2 insertions, 1 deletions
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:") ) @@ -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 |
