From 88a46d7a446a68bafe879d82669abc368d75d381 Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sat, 11 Apr 2015 10:34:26 -0400 Subject: [PATCH] More exposition. --- newcontrol_windows.c | 1 + 1 file changed, 1 insertion(+) diff --git a/newcontrol_windows.c b/newcontrol_windows.c index 09671147..375488b8 100644 --- a/newcontrol_windows.c +++ b/newcontrol_windows.c @@ -95,6 +95,7 @@ uiControl *uiWindowsNewControl(uiWindowsNewControlParams *p) p->lpClassName, p->lpWindowName, p->dwStyle | WS_CHILD | WS_VISIBLE, 0, 0, + // use a nonzero initial size just in case some control breaks with a zero initial size 100, 100, initialParent, NULL, p->hInstance, NULL); if (s->hwnd == NULL)