-- B O D Y --
-- --
------------------------------------------------------------------------------
--- Copyright (c) 1998 Free Software Foundation, Inc. --
+-- Copyright (c) 1998,2004 Free Software Foundation, Inc. --
-- --
-- Permission is hereby granted, free of charge, to any person obtaining a --
-- copy of this software and associated documentation files (the --
------------------------------------------------------------------------------
-- Author: Juergen Pfeifer, 1996
-- Version Control
--- $Revision: 1.13 $
+-- $Revision: 1.17 $
+-- $Date: 2004/08/21 21:37:00 $
-- Binding Version 01.00
------------------------------------------------------------------------------
with Terminal_Interface.Curses; use Terminal_Interface.Curses;
P : Panel) return Boolean
is
begin
+ if M = Null_Menu then
+ raise Menu_Exception;
+ end if;
+ if P = Null_Panel then
+ raise Panel_Exception;
+ end if;
To_Change := No_Change;
if K in User_Key_Code'Range then
if K = QUIT then
Null_Item);
M : Menu := New_Menu (Itm);
- U1 : User_Data_Access := new User_Data'(4711);
+ U1 : constant User_Data_Access := new User_Data'(4711);
U2 : User_Data_Access;
- U3 : User_Data_Access := new User_Data'(4712);
+ U3 : constant User_Data_Access := new User_Data'(4712);
U4 : User_Data_Access;
function My_Driver (M : Menu;