-- 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 --
-- authorization. --
------------------------------------------------------------------------------
-- Author: Juergen Pfeifer, 1996
--- Contact: http://www.familiepfeifer.de/Contact.aspx?Lang=en
-- Version Control:
--- $Revision: 1.17 $
+-- $Revision: 1.21 $
+-- $Date: 2004/08/21 21:37:00 $
-- Binding Version 01.00
------------------------------------------------------------------------------
with System;
Old : aliased Event_Mask;
begin
R := MMask (Mask, Old'Access);
+ if R = No_Events then
+ Beep;
+ end if;
return Old;
end Start_Mouse;
procedure End_Mouse (Mask : in Event_Mask := No_Events)
is
begin
- null;
+ if Mask /= No_Events then
+ Beep;
+ end if;
end End_Mouse;
procedure Dispatch_Event (Mask : in Event_Mask;