+#import <Foundation/NSObject.h>
+
+// ============================================================================
+// @class wxNSControlTarget
+// ============================================================================
+@interface wxNSControlTarget : NSObject
+{
+}
+
+- (void)wxNSControlAction: (id)sender;
+@end //interface wxNSControlTarget
+WX_DECLARE_GET_OBJC_CLASS(wxNSControlTarget,NSObject)
+
+@implementation wxNSControlTarget : NSObject
+
+- (void)wxNSControlAction: (id)sender
+{
+ wxLogTrace(wxTRACE_COCOA,wxT("wxNSControlAction"));
+ wxCocoaNSControl *wxcontrol = wxCocoaNSControl::GetFromCocoa(sender);
+ wxCHECK_RET(wxcontrol,wxT("wxNSControlAction received but no wxCocoaNSControl exists!"));
+ wxcontrol->CocoaTarget_action();
+}
+
+@end //implementation wxNSControlTarget
+WX_IMPLEMENT_GET_OBJC_CLASS(wxNSControlTarget,NSObject)
+
+// ============================================================================
+// wxNSControl
+// ============================================================================