This is an automated email from the ASF dual-hosted git repository.

aharui pushed a commit to branch feature/MXRoyale
in repository https://gitbox.apache.org/repos/asf/royale-asjs.git

commit 077057c76ee54da8dfc8455fa6fc22c61b2495c1
Author: Alex Harui <[email protected]>
AuthorDate: Wed Aug 29 11:25:09 2018 -0700

    implement removeChildAt
---
 frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git 
a/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as 
b/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as
index 4cad623..1981f3a 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/core/UIComponent.as
@@ -3070,10 +3070,7 @@ COMPILE::JS
     { override }
     public function removeChildAt(index:int):IUIComponent
     {
-        if (GOOG::DEBUG)
-            trace("removeChildAt not implemented");
-        
-        return null;
+        return removeElement(getElementAt(index)) as IUIComponent;
     }
 
     /**

Reply via email to