Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- NSButton is called twice on sending print: to first responder
- NSMenu* menu = [sender menuForEvent:[NSApp currentEvent]];
- NSEvent* event = [NSApp currentEvent];
- [NSMenu popUpContextMenu:menu withEvent:event forView:self.view];
Add Comment
Please, Sign In to add comment