自定义的NSButton初始化函数中:(self.cell as! NSButtonCell).highlightsBy = NSCellStyleMask.contentsCellMask
或外部调用(button.cell as! NSButtonCell).highlightsBy = NSCellStyleMask.contentsCellMask
自定义的NSButton初始化函数中:(self.cell as! NSButtonCell).highlightsBy = NSCellStyleMask.contentsCellMask
或外部调用(button.cell as! NSButtonCell).highlightsBy = NSCellStyleMask.contentsCellMask