diff options
| author | Pietro Gagliardi <[email protected]> | 2014-05-10 14:59:11 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-05-10 14:59:11 -0400 |
| commit | 5819e52f8de793d781c8de86d6ae16aa832fdfe1 (patch) | |
| tree | 4c57cf34682bb4ab162a82bbb8d60b4645377a7c /listbox_darwin.go | |
| parent | d8d671b0b0f718f61c559f4d573810fe51192ee5 (diff) | |
Preparation for adding tracking areas to Mac OS X Areas: we need to now pass in the sysData to each control's make() function so Area can save the tracking area somewhere (this will also come in handy when I change alternate from a bool to an integer index).
Diffstat (limited to 'listbox_darwin.go')
| -rw-r--r-- | listbox_darwin.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/listbox_darwin.go b/listbox_darwin.go index 5a1042d..1001a46 100644 --- a/listbox_darwin.go +++ b/listbox_darwin.go @@ -234,7 +234,7 @@ var ( _deselectAll = sel_getUid("deselectAll:") ) -func makeListbox(parentWindow C.id, alternate bool) C.id { +func makeListbox(parentWindow C.id, alternate bool, s *sysData) C.id { listbox := C.objc_msgSend_noargs(_NSTableView, _alloc) listbox = initWithDummyFrame(listbox) C.objc_msgSend_id(listbox, _addTableColumn, newListboxTableColumn()) |
