diff --git a/redo/TODO.contributions b/redo/TODO.contributions index ae10a4e0..e7ea9f29 100644 --- a/redo/TODO.contributions +++ b/redo/TODO.contributions @@ -1,7 +1,3 @@ -wine -- say that dialogs respond to WM_PRINTCLIENT on xp+ with visual styles enabled -- trackbars are not clamped with TBM_SETPOS - uthash - stdint code misses MinGW(-w64) diff --git a/redo/windows/container.c b/redo/windows/container.c index 07ac0f0f..f0e4b87f 100644 --- a/redo/windows/container.c +++ b/redo/windows/container.c @@ -14,7 +14,7 @@ static LRESULT CALLBACK containerWndProc(HWND hwnd, UINT uMsg, WPARAM wParam, LP return lResult; switch (uMsg) { case WM_PAINT: -break;//TODO dc = BeginPaint(hwnd, &ps); + dc = BeginPaint(hwnd, &ps); if (dc == NULL) logLastError("error beginning container paint in containerWndProc()"); r = ps.rcPaint; diff --git a/redo/windows/datetimepicker.c b/redo/windows/datetimepicker.c index b4470478..63c373c3 100644 --- a/redo/windows/datetimepicker.c +++ b/redo/windows/datetimepicker.c @@ -15,7 +15,6 @@ uiDefineControlType(uiDateTimePicker, uiTypeDateTimePicker, struct datetimepicke // The real date/time picker does a manual replacement of "yy" with "yyyy" for DTS_SHORTDATECENTURYFORMAT. // Because we're also duplicating its functionality (see below), we have to do it too. -// This code should not be contributed to wine. static WCHAR *expandYear(WCHAR *dts, int n) { WCHAR *out; diff --git a/redo/windows/parent.c b/redo/windows/parent.c index 3bee6ed7..df91bd72 100644 --- a/redo/windows/parent.c +++ b/redo/windows/parent.c @@ -112,8 +112,8 @@ BOOL handleParentMessages(HWND hwnd, UINT uMsg, WPARAM wParam, LPARAM lParam, LR return runWM_NOTIFY(wParam, lParam, lResult); case WM_HSCROLL: return runWM_HSCROLL(wParam, lParam, lResult); -//TODO case WM_CTLCOLORSTATIC: -//TODO case WM_CTLCOLORBTN: + case WM_CTLCOLORSTATIC: + case WM_CTLCOLORBTN: if (parentBrush != NULL) if (DeleteObject(parentBrush) == 0) logLastError("error deleting old background brush in containerWndProc()"); diff --git a/redo/windows/spinbox.c b/redo/windows/spinbox.c index eed5e80f..bd19eed3 100644 --- a/redo/windows/spinbox.c +++ b/redo/windows/spinbox.c @@ -102,7 +102,7 @@ static void recreateUpDown(struct spinbox *s) HWND parent; BOOL preserve = FALSE; intmax_t current; - // wine uses this type + // Microsoft's commctrl.h says to use this type INT min, max; parent = GetAncestor(s->hwnd, GA_PARENT);