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 /area_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 'area_darwin.go')
| -rw-r--r-- | area_darwin.go | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/area_darwin.go b/area_darwin.go index 39a5fb3..2041494 100644 --- a/area_darwin.go +++ b/area_darwin.go @@ -74,7 +74,7 @@ func mkAreaClass() error { return nil } -func makeArea(parentWindow C.id, alternate bool) C.id { +func makeArea(parentWindow C.id, alternate bool, s *sysData) C.id { area := C.objc_msgSend_noargs(_goArea, _alloc) area = initWithDummyFrame(area) // TODO others? |
