-// WX_IMPLEMENT_COCOA_OWNER(wxRadioBox,NSTextField,NSControl,NSView)
+
+void wxRadioBox::AssociateNSBox(WX_NSBox cocoaObjcClass)
+{
+ NSMatrix *radioBox = [(WX_NSBox)cocoaObjcClass contentView];
+ // Associate the NSMatrix (the NSBox's contentView) with the wxCocoaNSControl MI base class.
+ AssociateNSControl(radioBox);
+ // Set the target/action.. we don't really need to unset these
+ [radioBox setTarget:wxCocoaNSControl::sm_cocoaTarget];
+ [radioBox setAction:@selector(wxNSControlAction:)];
+}
+
+void wxRadioBox::DisassociateNSBox(WX_NSBox cocoaObjcClass)
+{
+ DisassociateNSControl([(WX_NSBox)cocoaObjcClass contentView]);
+}
+
+WX_IMPLEMENT_COCOA_OWNER(wxRadioBox,NSBox,NSView,NSView)