sion list.
> Assunto: Re: [Iup-users] IUP iupDlgListDestroyAll refactored
>
> > Because IupDestroy will also remove the dialog from that list and
> list->next will be invalid.
> Like this, it worked without problems.
>
> void iupDlgListDestroyAll(void)
> {
>
De: Antonio Scuri
Enviado: sexta-feira, 29 de maio de 2020 13:12
Para: IUP discussion list.
Assunto: Re: [Iup-users] IUP iupDlgListDestroyAll refactored
> Because IupDestroy will also remove the dialog from that list and list->next
> will be invalid.
Like this, it worked without
Because IupDestroy will also remove the dialog from that list and
list->next will be invalid.
Best,
Scuri
Em qui., 28 de mai. de 2020 às 18:55, Ranier Vilela
escreveu:
> Hi Scuri,
>
> Is there a special condition, so that the function below is not written
> like this?
>
> usr\iup_dlglist.c:
Hi Scuri,
Is there a special condition, so that the function below is not written like
this?
usr\iup_dlglist.c:
void iupDlgListDestroyAll(void)
{
Idiallst *list;
for (list = idlglist; list; list = list->next)
{
if (iupObjectCheck(list->ih))
{
IupDestroy(list->ih); /*