diff --git a/haxe/ui/backend/ScreenImpl.hx b/haxe/ui/backend/ScreenImpl.hx index b3b18a8..e6b89fd 100644 --- a/haxe/ui/backend/ScreenImpl.hx +++ b/haxe/ui/backend/ScreenImpl.hx @@ -43,7 +43,7 @@ class ScreenImpl extends ScreenBase { return component; } - public override function removeComponent(component:Component, dispose:Bool = true):Component { + public override function removeComponent(component:Component, dispose:Bool = true, invalidate:Bool = true):Component { if (dispose == true) { component.window.destroy(); }