             }
         }
         
-        func toggleSelection() {
-            selected = !selected
-        }
-
         var trackingArea: NSTrackingArea!
         override func updateTrackingAreas() {
             super.updateTrackingAreas()


        var selected = false {
            didSet {
                let activeColor = self.selected ? parentTabView.selectionColor : parentTabView.labelColor
                button.setAttributedString(parentTabView.fontSize, color: activeColor)
                button.state = self.selected ? NSOnState : NSOffState

        case .One:
            self.selectedButtons = [sender.identifier!]
        case .Any:
            if sender.selected {
                self.selectedButtons = self.selectedButtons.filter{ $0 != sender.identifier }
            } else {
                self.selectedButtons.append(sender.identifier!)
            }
        default:()
        }
        
