diff options
| author | Pietro Gagliardi <[email protected]> | 2014-08-09 10:39:46 -0400 |
|---|---|---|
| committer | Pietro Gagliardi <[email protected]> | 2014-08-09 10:39:46 -0400 |
| commit | 9217250d5c5ec8de9bbbac45e3c66d80f6419244 (patch) | |
| tree | 48a71f0bfbc07b9407788fca13ff877e3a221f54 | |
| parent | 6c1bf7aabd859c27f26898ead8572dd00f419d57 (diff) | |
Removed unnecessary TODO from xsizing_darwin.m.
| -rw-r--r-- | redo/xsizing_darwin.m | 2 |
1 files changed, 1 insertions, 1 deletions
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; |
