if (cp->hwnd) {
ctl = CreateWindowEx(exstyle, wclass, wtext, wstyle,
r.left, r.top, r.right, r.bottom,
- cp->hwnd, (HMENU) wid, hinst, NULL);
+ cp->hwnd, (HMENU)(ULONG_PTR)wid, hinst, NULL);
SendMessage(ctl, WM_SETFONT, cp->font, MAKELPARAM(TRUE, 0));
if (!strcmp(wclass, "LISTBOX")) {
if (!btext)
break;
(void) va_arg(ap, int); /* id */
+ nbuttons++;
}
va_end(ap);
buttons = snewn(nbuttons, struct radio);
if (!btext)
break;
(void) va_arg(ap, int); /* id */
+ nbuttons++;
}
va_end(ap);
buttons = snewn(nbuttons, struct radio);