Fixed groupbox-caused tab issues on Windows for now (uninitialized memory bug; will preoprly fix later).

This commit is contained in:
Pietro Gagliardi 2015-05-18 15:00:12 -04:00
parent df867375ce
commit 3ec28551e6
2 changed files with 2 additions and 2 deletions

View File

@ -24,6 +24,8 @@ static void onDestroy(void *data)
static void groupPreferredSize(uiControl *c, uiSizing *d, intmax_t *width, intmax_t *height) static void groupPreferredSize(uiControl *c, uiSizing *d, intmax_t *width, intmax_t *height)
{ {
// TODO // TODO
*width = 0;
*height = 0;
} }
static void groupSetChild(uiGroup *gg, uiControl *c) static void groupSetChild(uiGroup *gg, uiControl *c)

View File

@ -2,8 +2,6 @@
#include "uipriv_windows.h" #include "uipriv_windows.h"
// TODO // 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 // - comctl5 on real windows: tabs get drawn behind checkbox
struct tab { struct tab {