Open cambiata opened 12 years ago
The addChild() methods of HBox and VBox breaks Neko compilation for me. It seems that the child:Dynamic isn't seen as a EventDispatcher decendant.
I've solved it by replacing the lines
child.addEventListener(Event.RESIZE, onResize);
with
cast(child, nme.events.EventDispatcher).addEventListener(Event.RESIZE, onResize);
After that, the Minimalcompshx.hx compiles fine to Neko, except for the WheelMenu. (There's a problem in the setItem method. Who needs the WheelMenu anyway? :-)
@cambiata Ok, I'll look into this bug. By the way it gave me some idea for better solution of ScrollPane's bug. Thanks for report
The addChild() methods of HBox and VBox breaks Neko compilation for me. It seems that the child:Dynamic isn't seen as a EventDispatcher decendant.
I've solved it by replacing the lines
with
After that, the Minimalcompshx.hx compiles fine to Neko, except for the WheelMenu. (There's a problem in the setItem method. Who needs the WheelMenu anyway? :-)