DDHotKey icon indicating copy to clipboard operation
DDHotKey copied to clipboard

Allow DDHotKey integration into code which includes WebKit in precompiled header

Open nbeadman opened this issue 9 years ago • 0 comments

Fixed compiler "error: multiple methods named 'keyCode' found with mismatched result, parameter type or attributes" when using WebKit in precompiled header

The possible methods named 'keyCode' are: NSEvent: -(unsigned short) keyCode DDHotKey: @property (nonatomic, setter = _setKeyCode:) unsigned short keyCode DOMUIEvent : @property(readonly) int keyCode

DOMUIEvent is int whereas DDHotKey and NSEvent is unsigned short

nbeadman avatar Jul 22 '15 17:07 nbeadman