Don't call ReadArgs() if started from WB.
[tangerine.git] / compiler / alib / layoutmenuitems.c
blob8dc6d16650a430346e9e0531d6c88db33d71f8e6
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Layout a gadtools menu item
6 Lang: english
7 */
9 #include <exec/types.h>
10 #define AROS_TAGRETURNTYPE BOOL
12 #include "alib_intern.h"
14 extern struct Library * GadToolsBase;
16 /*****************************************************************************
18 NAME */
19 #include <intuition/intuition.h>
20 #include <utility/tagitem.h>
21 #include <libraries/gadtools.h>
22 #define NO_INLINE_STDARG /* turn off inline def */
23 #include <proto/gadtools.h>
25 BOOL LayoutMenuItems (
27 /* SYNOPSIS */
28 struct MenuItem * menuitem,
29 APTR vi,
30 Tag tag1,
31 ... )
33 /* FUNCTION
34 Varargs version of gadtools.library/LayoutMenuItemsA().
36 INPUTS
38 RESULT
40 NOTES
42 EXAMPLE
44 BUGS
46 SEE ALSO
48 INTERNALS
50 HISTORY
52 *****************************************************************************/
54 AROS_SLOWSTACKTAGS_PRE(tag1)
55 retval = LayoutMenuItemsA (menuitem, vi, AROS_SLOWSTACKTAGS_ARG(tag1));
56 AROS_SLOWSTACKTAGS_POST
57 } /* LayoutMenuItems */