Don't call ReadArgs() if started from WB.
[tangerine.git] / compiler / alib / layoutmenus.c
blob68be3c6aeb231f82523cfc9a10196d2b1fe79074
1 /*
2 Copyright © 1995-2001, The AROS Development Team. All rights reserved.
3 $Id$
5 Desc: Layout a gadtools menu
6 Lang: english
7 */
9 #define AROS_TAGRETURNTYPE BOOL
11 #include "alib_intern.h"
13 extern struct Library * GadToolsBase;
15 /*****************************************************************************
17 NAME */
18 #include <intuition/intuition.h>
19 #include <utility/tagitem.h>
20 #define NO_INLINE_STDARG /* turn off inline def */
21 #include <proto/gadtools.h>
23 BOOL LayoutMenus (
25 /* SYNOPSIS */
26 struct Menu * menu,
27 APTR vi,
28 Tag tag1,
29 ... )
31 /* FUNCTION
32 Varargs version of gadtools.library/LayoutMenusA().
34 INPUTS
36 RESULT
38 NOTES
40 EXAMPLE
42 BUGS
44 SEE ALSO
46 INTERNALS
48 HISTORY
50 *****************************************************************************/
52 AROS_SLOWSTACKTAGS_PRE(tag1)
53 retval = LayoutMenusA (menu, vi, AROS_SLOWSTACKTAGS_ARG(tag1));
54 AROS_SLOWSTACKTAGS_POST
55 } /* LayoutMenus */