From 0cfe64c2bb27779bc273e4462f7034e86bd2518a Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Fri, 10 Apr 2015 18:31:40 -0400 Subject: [PATCH] Moved the control IDs TODO to TODO.md as that's a long-term TODO; it depends on how container controls play out. --- TODO.md | 2 ++ newcontrol_windows.c | 1 - 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/TODO.md b/TODO.md index ced46c28..78cbe174 100644 --- a/TODO.md +++ b/TODO.md @@ -3,6 +3,8 @@ - figure out what to cleanup in darwin terminate: - delegate - deleted objects view +- assign control IDs on windows + - GWL(P)_ID ultimately: - make everything vtable-based diff --git a/newcontrol_windows.c b/newcontrol_windows.c index 5ca9ad19..09671147 100644 --- a/newcontrol_windows.c +++ b/newcontrol_windows.c @@ -96,7 +96,6 @@ uiControl *uiWindowsNewControl(uiWindowsNewControlParams *p) p->dwStyle | WS_CHILD | WS_VISIBLE, 0, 0, 100, 100, - // TODO specify control IDs properly initialParent, NULL, p->hInstance, NULL); if (s->hwnd == NULL) logLastError("error creating control in uiWindowsNewControl()");