Try to fix ContextMenuItem/NativeMenuItem for Flash/AIR (close #1108)
This commit is contained in:
@@ -1,10 +1,11 @@
|
||||
package flash.ui;
|
||||
|
||||
@:final extern class ContextMenuItem extends flash.display.NativeMenuItem {
|
||||
@:final extern class ContextMenuItem #if air extends flash.display.NativeMenuItem #end {
|
||||
var caption : String;
|
||||
var separatorBefore : Bool;
|
||||
var visible : Bool;
|
||||
function new(caption : String, separatorBefore : Bool = false, enabled : Bool = true, visible : Bool = true) : Void;
|
||||
#if !air
|
||||
function clone() : ContextMenuItem;
|
||||
//override function clone() : flash.display.NativeMenuItem;
|
||||
#end
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user