 
     // MARK: - NSResponder
     override open var acceptsFirstResponder: Bool {
-        return enabled
+        return isEnabled
     }
 
     override open var canBecomeKeyView: Bool {

        return true
    }
    open override var focusRingMaskBounds: NSRect {
        return (enabled && window?.firstResponder == self) ? bounds : NSRect.zero
    }

    // MARK: - Initialize


    // MARK: - Draw
    open override func drawFocusRingMask() {
        if isEnabled && window?.firstResponder == self {
            NSBezierPath(roundedRect: bounds, xRadius: cornerRadius, yRadius: cornerRadius).fill()
        }
    }
