Mercurial > dwindows
comparison mac/dw.m @ 2353:29cc92d4218b
Mac: Add missing ; to a few DW_FUNCTION_RETURN_THIS() macros.
author | bsmith@81767d24-ef19-dc11-ae90-00e081727c95 |
---|---|
date | Mon, 08 Mar 2021 19:22:39 +0000 |
parents | 360f3cb6bd57 |
children | fad0821cb953 |
comparison
equal
deleted
inserted
replaced
2352:360f3cb6bd57 | 2353:29cc92d4218b |
---|---|
5833 [cont setup]; | 5833 [cont setup]; |
5834 NSTableColumn *column = [[[NSTableColumn alloc] initWithIdentifier:@"_DWListboxColumn"] autorelease]; | 5834 NSTableColumn *column = [[[NSTableColumn alloc] initWithIdentifier:@"_DWListboxColumn"] autorelease]; |
5835 [column setEditable:NO]; | 5835 [column setEditable:NO]; |
5836 [cont addTableColumn:column]; | 5836 [cont addTableColumn:column]; |
5837 [cont addColumn:column andType:type]; | 5837 [cont addColumn:column andType:type]; |
5838 DW_FUNCTION_RETURN_THIS(cont) | 5838 DW_FUNCTION_RETURN_THIS(cont); |
5839 } | 5839 } |
5840 | 5840 |
5841 /* | 5841 /* |
5842 * Appends the specified text to the listbox's (or combobox) entry list. | 5842 * Appends the specified text to the listbox's (or combobox) entry list. |
5843 * Parameters: | 5843 * Parameters: |
6293 DW_FUNCTION_INIT; | 6293 DW_FUNCTION_INIT; |
6294 DWComboBox *combo = [[DWComboBox alloc] init]; | 6294 DWComboBox *combo = [[DWComboBox alloc] init]; |
6295 [combo setStringValue:[NSString stringWithUTF8String:text]]; | 6295 [combo setStringValue:[NSString stringWithUTF8String:text]]; |
6296 [combo setDelegate:combo]; | 6296 [combo setDelegate:combo]; |
6297 [combo setTag:cid]; | 6297 [combo setTag:cid]; |
6298 DW_FUNCTION_RETURN_THIS(combo) | 6298 DW_FUNCTION_RETURN_THIS(combo); |
6299 } | 6299 } |
6300 | 6300 |
6301 /* | 6301 /* |
6302 * Create a new Multiline Editbox window (widget) to be packed. | 6302 * Create a new Multiline Editbox window (widget) to be packed. |
6303 * Parameters: | 6303 * Parameters: |