From d00bd0403183efcf9af03cb9b0cd880d9cf09a7e Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sat, 30 May 2015 03:16:55 -0400 Subject: [PATCH] More fixes. --- redo/windows/tab.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/redo/windows/tab.c b/redo/windows/tab.c index bc764151..1cf5743e 100644 --- a/redo/windows/tab.c +++ b/redo/windows/tab.c @@ -34,9 +34,9 @@ static void showHidePage(struct tab *t, LRESULT which, int hide) return; page = ptrArrayIndex(t->pages, struct tabPage *, which); if (hide) - uiControlContainerHide(page->control); +//TODO uiControlContainerHide(page->control); else { - uiControlContainerShow(page->control); +//TODO uiControlContainerShow(page->control); // we only resize the current page, so we have to do this here uiControlQueueResize(page->control); } @@ -140,7 +140,7 @@ static void tabInsertAt(uiTab *tt, const char *name, uintmax_t n, uiControl *chi page->control = child; uiControlSetParent(page->control, uiControl(t)); // and make it invisible at first; we show it later if needed - uiControlContainerHide(page->control); +//TODO uiControlContainerHide(page->control); ptrArrayInsertAt(t->pages, n, page); ZeroMemory(&item, sizeof (TCITEMW)); @@ -176,7 +176,7 @@ static void tabDelete(uiTab *tt, uintmax_t n) // and keep the page control alive uiControlSetParent(page->control, NULL); // and show it again, as we don't know where it will go next - uiControlContainerShow(page->control); +//TODO uiControlContainerShow(page->control); uiFree(page); }