From 45d3072672869b3d000b4ebe5328ef18e055a059 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Wed, 8 Apr 2015 16:27:45 -0400 Subject: [PATCH] Decided not to turn new control scrolling parameters into a bitfield. --- newcontrol_darwin.m | 1 - newcontrol_unix.c | 1 - 2 files changed, 2 deletions(-) diff --git a/newcontrol_darwin.m b/newcontrol_darwin.m index 4586331f..04f6c1cb 100644 --- a/newcontrol_darwin.m +++ b/newcontrol_darwin.m @@ -67,7 +67,6 @@ uiControl *uiDarwinNewControl(Class class, BOOL inScrollView, BOOL scrollViewHas c->view = (NSView *) [[class alloc] initWithFrame:NSZeroRect]; c->immediate = c->view; - // TODO turn into bit field? if (inScrollView) { c->scrollView = [[NSScrollView alloc] initWithFrame:NSZeroRect]; [c->scrollView setDocumentView:c->view]; diff --git a/newcontrol_unix.c b/newcontrol_unix.c index e032f8b4..c883a5a0 100644 --- a/newcontrol_unix.c +++ b/newcontrol_unix.c @@ -72,7 +72,6 @@ uiControl *uiUnixNewControl(GType type, gboolean inScrolledWindow, gboolean scro va_end(ap); c->immediate = c->widget; - // TODO turn into bit field? if (inScrolledWindow) { c->scrolledWindow = gtk_scrolled_window_new(NULL, NULL); if (!GTK_IS_SCROLLABLE(c->widget))