From 812b70f6f06d89d9294c2d1739df4acffd02a84f Mon Sep 17 00:00:00 2001 From: Pietro Gagliardi Date: Sat, 11 Apr 2015 10:34:26 -0400 Subject: [PATCH] More exposition. --- new/newcontrol_windows.c | 1 + 1 file changed, 1 insertion(+) diff --git a/new/newcontrol_windows.c b/new/newcontrol_windows.c index 0967114..375488b 100644 --- a/new/newcontrol_windows.c +++ b/new/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)