Fixed non-minimizeable windows in Mac OS X; it was a simple copy-paste fail.
This commit is contained in:
parent
d9cf76c1ab
commit
10e9f6b927
|
@ -68,7 +68,7 @@ var classTypes = [nctypes]*classData{
|
||||||
win = objc_msgSend_rect_uint_uint_bool(win,
|
win = objc_msgSend_rect_uint_uint_bool(win,
|
||||||
_initWithContentRect,
|
_initWithContentRect,
|
||||||
0, 0, 100, 100,
|
0, 0, 100, 100,
|
||||||
NSTitledWindowMask | NSClosableWindowMask | NSClosableWindowMask | NSResizableWindowMask,
|
NSTitledWindowMask | NSClosableWindowMask | NSMiniaturizableWindowMask | NSResizableWindowMask,
|
||||||
2, // NSBackingStoreBuffered - the only backing store method that Apple says we should use (the others are legacy)
|
2, // NSBackingStoreBuffered - the only backing store method that Apple says we should use (the others are legacy)
|
||||||
C.BOOL(C.YES)) // defer creation of device until we show the window
|
C.BOOL(C.YES)) // defer creation of device until we show the window
|
||||||
objc_setDelegate(win, appDelegate)
|
objc_setDelegate(win, appDelegate)
|
||||||
|
|
2
todo.md
2
todo.md
|
@ -26,7 +26,7 @@ important things:
|
||||||
- ui.Go() should exit when the main() you pass in exits
|
- 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
|
- 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 coordinates have (0,0) at the bottom left: need to fix this somehow
|
- Cocoa coordinates have (0,0) at the bottom left: need to fix this somehow
|
||||||
- Cocoa windows seem to ignore the minizeable flag and cannot be live-resized
|
- Cocoa windows cannot be live-resized
|
||||||
- there's no GTK+ error handling whatsoever; we need to figure out how it works
|
- there's no GTK+ error handling whatsoever; we need to figure out how it works
|
||||||
- make sure GTK+ documentation point differences don't matter
|
- make sure GTK+ documentation point differences don't matter
|
||||||
- button sizes and LineEdit sizes on Windows seem too big; Comboboxes have margins
|
- button sizes and LineEdit sizes on Windows seem too big; Comboboxes have margins
|
||||||
|
|
Loading…
Reference in New Issue