2 Copyright © 1995-2013, 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. Call this function before you
27 window - the window from which the menu bar should be detached
42 *****************************************************************************/
48 ObtainSemaphore(&GetPrivIBase(IntuitionBase
)->MenuLock
);
49 window
->MenuStrip
= NULL
;
50 ReleaseSemaphore(&GetPrivIBase(IntuitionBase
)->MenuLock
);
55 } /* ClearMenuStrip */