You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@royale.apache.org by ha...@apache.org on 2019/12/23 19:20:13 UTC

[royale-asjs] branch develop updated: Fixed build error

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

harbs 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 af7690f  Fixed build error
af7690f is described below

commit af7690fae8d13a2da223720d05454ed64d1c21f0
Author: Harbs <ha...@in-tools.com>
AuthorDate: Mon Dec 23 21:19:54 2019 +0200

    Fixed build error
---
 .../org/apache/royale/jewel/supportClasses/button/SimpleButton.as  | 7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

diff --git a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/supportClasses/button/SimpleButton.as b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/supportClasses/button/SimpleButton.as
index 03346cd..b4c70db 100644
--- a/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/supportClasses/button/SimpleButton.as
+++ b/frameworks/projects/Jewel/src/main/royale/org/apache/royale/jewel/supportClasses/button/SimpleButton.as
@@ -33,6 +33,8 @@ package org.apache.royale.jewel.supportClasses.button
     import org.apache.royale.core.IStrand;
     import org.apache.royale.core.IUIBase;
     import org.apache.royale.events.IEventDispatcher;
+    import org.apache.royale.utils.ClassSelectorList;
+    import org.apache.royale.utils.IClassSelectorListSupport;
     import org.apache.royale.jewel.supportClasses.IEmphasis;
 
     //--------------------------------------
@@ -157,7 +159,7 @@ package org.apache.royale.jewel.supportClasses.button
      *  @productversion Royale 0.9.6
      */
     COMPILE::SWF
-	public class SimpleButton extends UIButtonBase implements IStrand, IUIBase, IEventDispatcher, IEmphasis
+	public class SimpleButton extends UIButtonBase implements IStrand, IUIBase, IEventDispatcher, IClassSelectorListSupport, IEmphasis
 	{
         public static const PRIMARY:String = "primary";
         public static const SECONDARY:String = "secondary";
@@ -175,9 +177,12 @@ package org.apache.royale.jewel.supportClasses.button
 		{
 			super();
 
+            classSelectorList = new ClassSelectorList(this);
             typeNames = "jewel button";
 		}
 
+        protected var classSelectorList:ClassSelectorList;
+
         private var _emphasis:String;
         /**
 		 *  Applies emphasis color display. Possible constant values are: PRIMARY, SECONDARY, EMPHASIZED.