From 9217250d5c5ec8de9bbbac45e3c66d80f6419244 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sat, 9 Aug 2014 10:39:46 -0400 Subject: [PATCH] Removed unnecessary TODO from xsizing_darwin.m. --- redo/xsizing_darwin.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/redo/xsizing_darwin.m b/redo/xsizing_darwin.m index 0f06451..6b37378 100644 --- a/redo/xsizing_darwin.m +++ b/redo/xsizing_darwin.m @@ -38,6 +38,7 @@ struct xsize tabPrefSize(id control) return t; } +// this function is safe to call on Areas; it'll just return the frame and a baseline of 0 since it uses the default NSView implementations struct xalignment alignmentInfo(id c, struct xrect newrect) { NSView *v; @@ -55,7 +56,6 @@ struct xalignment alignmentInfo(id c, struct xrect newrect) a.rect.width = (intptr_t) r.size.width; a.rect.height = (intptr_t) r.size.height; // I'm not sure if we need to set the frame for -[NSView baselineOffsetFromBottom], but let's do it just to be safe - // TODO Areas [v setFrame:r]; a.baseline = (intptr_t) [v baselineOffsetFromBottom]; return a;