X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/3e43dbc6c7c76c8187958960ea3e454315f98398..ab67e8874db324fab5223cc8d5dff8a8de3e2b77:/src/osx/cocoa/listbox.mm diff --git a/src/osx/cocoa/listbox.mm b/src/osx/cocoa/listbox.mm index b30cb3642e..199363d247 100644 --- a/src/osx/cocoa/listbox.mm +++ b/src/osx/cocoa/listbox.mm @@ -321,10 +321,7 @@ protected: while (columnIndex--) [[(NSTableColumn *)[tableColumns objectAtIndex:columnIndex] dataCell] setFont:aFont]; - // todo introduce a common NSLayoutManager instance for all and use new method -#ifndef __LP64__ - [self setRowHeight:[aFont defaultLineHeightForFont]+2]; -#endif + [self setRowHeight:[gNSLayoutManager defaultLineHeightForFont:aFont]+2]; } - (void) setControlSize:(NSControlSize) size