ui/cocoa/GridLayout.m

changeset 1026
4f94daefb421
parent 851
367b2bbbc07e
equal deleted inserted replaced
1025:4f7e335a95ca 1026:4f94daefb421
36 36
37 - (GridLayout*)init { 37 - (GridLayout*)init {
38 self = [super init]; 38 self = [super init];
39 _columnspacing = 0; 39 _columnspacing = 0;
40 _rowspacing = 0; 40 _rowspacing = 0;
41 _children = cxArrayListCreateSimple(sizeof(GridElm), 32); 41 _children = cxArrayListCreate(NULL, sizeof(GridElm), 32);
42 _preferredSize.width = -1; 42 _preferredSize.width = -1;
43 _preferredSize.height = -1; 43 _preferredSize.height = -1;
44 44
45 return self; 45 return self;
46 } 46 }

mercurial