|
From: | Doug Simons |
Subject: | [bug #26080] NSPopUpButton loaded from nib doesn't send action message |
Date: | Thu, 09 Apr 2009 23:22:23 +0000 |
User-agent: | Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_4_11; en) AppleWebKit/525.27.1 (KHTML, like Gecko) Version/3.2.1 Safari/525.27.1 |
Follow-up Comment #3, bug #26080 (project gnustep): For now I've implemented this as a category in my code, and it solves the problem. Here's the code: @interface NSPopUpButtonCell (CocoaExtensions) -(void) _popUpItemAction:(id)sender; @end @implementation NSPopUpButtonCell (CocoaExtensions) -(void) _popUpItemAction:(id)sender { [NSApp sendAction:[self action] to:[self target] from:sender]; } @end _______________________________________________________ Reply to this item at: <http://savannah.gnu.org/bugs/?26080> _______________________________________________ Message sent via/by Savannah http://savannah.gnu.org/
[Prev in Thread] | Current Thread | [Next in Thread] |