diff --git a/haxe/ui/macros/Macros.hx b/haxe/ui/macros/Macros.hx index 76144fd2e..dac7d93b0 100644 --- a/haxe/ui/macros/Macros.hx +++ b/haxe/ui/macros/Macros.hx @@ -29,6 +29,9 @@ class Macros { macro static function buildEvent():Array { var builder = new ClassBuilder(Context.getBuildFields(), Context.getLocalType(), Context.currentPos()); + #if haxeui_expose_all + builder.addMeta(":expose"); + #end #if macro_times_verbose var stopComponentTimer = Context.timer(builder.fullPath);