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

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


The following commit(s) were added to refs/heads/develop by this push:
     new 1c8e4c3  MX Button: Bring back enabled
1c8e4c3 is described below

commit 1c8e4c39faad944e48765e5d56ce286a4b837e48
Author: Piotr Zarzycki <[email protected]>
AuthorDate: Fri Oct 4 15:31:43 2019 +0200

    MX Button: Bring back enabled
    
    - Emulation components should emulate as much as it can existing Flex 
components, so no need to use bead here (reference #467)
---
 .../MXRoyale/src/main/royale/mx/controls/Button.as | 22 ----------------------
 1 file changed, 22 deletions(-)

diff --git a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/Button.as 
b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/Button.as
index c9edf24..75baacb 100644
--- a/frameworks/projects/MXRoyale/src/main/royale/mx/controls/Button.as
+++ b/frameworks/projects/MXRoyale/src/main/royale/mx/controls/Button.as
@@ -612,28 +612,6 @@ public class Button extends UIComponent implements 
IDataRenderer
                dispatchEvent(new Event("toggleChanged"));
        }
        
-       
-       //----------------------------------
-       //  enabled
-       //----------------------------------
-       
-       /**
-        *  @private
-        */
-       
-       [Inspectable(category="General", enumeration="true,false", 
defaultValue="true")]
-       
-       /**
-        *  @private
-        *  This is called whenever the enabled state changes.
-        */
-       override public function set enabled(value:Boolean):void
-       {
-               // TBD: redirect to bead
-               trace("Button.enabled not implemented properly.");
-       }
-       
-       
        //----------------------------------
        //  internal
        //----------------------------------

Reply via email to