2 Copyright © 2002-2007, The AROS Development Team. All rights reserved.
6 #include <proto/exec.h>
7 #include <proto/intuition.h>
8 #include <proto/muimaster.h>
11 #include "muimaster_intern.h"
13 /* #define MYDEBUG 1 */
16 /*****************************************************************************
19 AROS_LH2(Object
*, MUI_NewObjectA
,
22 AROS_LHA(ClassID
, classid
, A0
),
23 AROS_LHA(struct TagItem
*, tags
, A1
),
26 struct Library
*, MUIMasterBase
, 5, MUIMaster
)
39 The function itself is a bug ;-) Remove it!
47 *****************************************************************************/
53 cl
= MUI_GetClass(classid
);
56 Object
*obj
= NewObjectA(cl
, NULL
, tags
);
60 bug("*** Could not create object of %s\n", classid
);
64 bug("*** Couldn't find %s\n", classid
);
69 } /* MUIA_NewObjectA */