Hello,
If I understood your application case correctly, you have two enum members in your project. After generating code, only code for one of the enum members is generated. The second is missing.
During code generation, Embedded Wizard automatically eliminates all members, which are not in use in the project. I suppose, the first enum is used in one of your components while the seconds isn't. This has the effect of the second enum being considered as not needed and eliminated.
As soon as you use the enum, the corresponding code will be generated. Exception is when the member in question is intended to be used from the native code (from outside of the GUI project) only. In such case it is necessary to impose the code generation for the member. You do this by settings the attribute Generator of the affected member to the value true. See also Member attributes: Generator.
I hope it solves the issue.
Best regards
Paul Banach