summaryrefslogtreecommitdiff
path: root/redo/table_darwin.m
diff options
context:
space:
mode:
authorPietro Gagliardi <[email protected]>2014-08-05 22:02:57 -0400
committerPietro Gagliardi <[email protected]>2014-08-05 22:02:57 -0400
commit3dcdd055620e76a3606e6d525aed7cf86595a279 (patch)
treec735cb4732b23aaa191891d1e594040de46c2db5 /redo/table_darwin.m
parent46bb97cb7570fac3103144da461aa01b9b07a821 (diff)
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.
Diffstat (limited to 'redo/table_darwin.m')
-rw-r--r--redo/table_darwin.m3
1 files changed, 1 insertions, 2 deletions
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