From 3dcdd055620e76a3606e6d525aed7cf86595a279 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Tue, 5 Aug 2014 22:02:57 -0400 Subject: Removed the NSMakeRect(0, 0, 100, 100) dummy init rect from the Mac OS X backend; NSZeroRect works fine for this after all. Thanks to jer in irc.freenode.net/#macdev. --- redo/table_darwin.m | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'redo/table_darwin.m') diff --git a/redo/table_darwin.m b/redo/table_darwin.m index 8bb7e0f..ec5ab2f 100644 --- a/redo/table_darwin.m +++ b/redo/table_darwin.m @@ -37,8 +37,7 @@ id newTable(void) { NSTableView *t; - // TODO makerect - t = [[NSTableView alloc] initWithFrame:NSMakeRect(0, 0, 100, 100)]; + t = [[NSTableView alloc] initWithFrame:NSZeroRect]; [t setAllowsColumnReordering:NO]; [t setAllowsColumnResizing:YES]; // TODO make this an option on all platforms -- cgit v1.2.3