/*
    ####             #    #     # #
    #   #            #    #       #          The FreeWare C library for
    #   #  ##   ###  #  # #     # ###             RISC OS machines
    #   # #  # #     # #  #     # #  #   ___________________________________
    #   # ####  ###  ##   #     # #  #
    #   # #        # # #  #     # #  #    Please refer to the accompanying
    ####   ### ####  #  # ##### # ###    documentation for conditions of use
    ________________________________________________________________________

    File:    Dialog2.Delete.c
    Author:  Copyright  1994 Julian Smith
    Version: 1.03 (13 Mar 1995)
    Purpose: Dialogue box handling
*/


#include <stdlib.h>

#include "Desk.Error.h"
#include "Desk.Dialog2.h"
#include "Desk.DeskMem.h"
#include "Desk.Debug.h"


void	Desk_Dialog2_DeleteDialog( Desk_dialog2_block *dialog2)
{
Desk_Debug_Assert( dialog2);

dialog2->flags.data.keepwindow = Desk_bool_FALSE;
Desk_Dialog2_CloseDialog( dialog2);
Desk_DeskMem_Free( dialog2);
return;
}



