2 Copyright © 1995-2007, The AROS Development Team. All rights reserved.
3 Copyright © 2001-2003, The MorphOS Development Team. All Rights Reserved.
7 #include "intuition_intern.h"
9 /*****************************************************************************
12 #include <proto/intuition.h>
14 AROS_LH1(void, ClearMenuStrip
,
17 AROS_LHA(struct Window
*, window
, A0
),
20 struct IntuitionBase
*, IntuitionBase
, 9, Intuition
)
23 Detach menu stript from a window.
24 Call this function before you change memu data.
27 window - the window from which the menu bar should be detached
43 29-10-95 digulla automatically created from
44 intuition_lib.fd and clib/intuition_protos.h
46 *****************************************************************************/
52 ObtainSemaphore(&GetPrivIBase(IntuitionBase
)->MenuLock
);
53 window
->MenuStrip
= NULL
;
54 ReleaseSemaphore(&GetPrivIBase(IntuitionBase
)->MenuLock
);
59 } /* ClearMenuStrip */