From 3ec28551e6c5ccbf38987361cb7d2c53ac598542 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Mon, 18 May 2015 15:00:12 -0400 Subject: [PATCH] Fixed groupbox-caused tab issues on Windows for now (uninitialized memory bug; will preoprly fix later). --- redo/windows/group.c | 2 ++ redo/windows/tab.c | 2 -- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/redo/windows/group.c b/redo/windows/group.c index 584a858a..d867b831 100644 --- a/redo/windows/group.c +++ b/redo/windows/group.c @@ -24,6 +24,8 @@ static void onDestroy(void *data) static void groupPreferredSize(uiControl *c, uiSizing *d, intmax_t *width, intmax_t *height) { // TODO + *width = 0; + *height = 0; } static void groupSetChild(uiGroup *gg, uiControl *c) diff --git a/redo/windows/tab.c b/redo/windows/tab.c index 53ceb7a2..0324eebf 100644 --- a/redo/windows/tab.c +++ b/redo/windows/tab.c @@ -2,8 +2,6 @@ #include "uipriv_windows.h" // TODO -// - page 2's top is clipped on wine -// - group on page 2 is wrecking things on real windows // - comctl5 on real windows: tabs get drawn behind checkbox struct tab {