From dc5b7f4c59214b23ef1b5c1d34f0b2eaf1f454f4 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sun, 3 May 2015 11:47:06 -0400 Subject: [PATCH] Some TODO resolution in windows/tab.c. Wine bug filed (https://bugs.winehq.org/show_bug.cgi?id=38527); first tab behavior verified with program in wine bug. --- windows/tab.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/windows/tab.c b/windows/tab.c index 678d4a27..742fef26 100644 --- a/windows/tab.c +++ b/windows/tab.c @@ -1,9 +1,6 @@ // 12 april 2015 #include "uipriv_windows.h" -// TODO -// - tell wine developers that tab controls do respond to parent changes on real windows (at least comctl6 tab controls do) - struct tab { uiTab t; HWND hwnd; @@ -161,7 +158,6 @@ static void tabAppendPage(uiTab *tt, const char *name, uiControl *child) uiFree(wname); // if this is the first tab, Windows will automatically show it /without/ sending a TCN_SELCHANGE notification - // (TODO verify that) // so we need to manually resize the tab ourselves // don't use uiUpdateParent() for the same reason as in the TCN_SELCHANGE handler SendMessageW(t->hwnd, msgUpdateChild, 0, 0);