X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/c4825ef73a5f190b8f39c59df098c3f39fa4464b..c37dd6dad7f53b8f5f4c4a8d6434c2851cd2b9e4:/src/osx/cocoa/radiobut.mm diff --git a/src/osx/cocoa/radiobut.mm b/src/osx/cocoa/radiobut.mm index 681f6cf9c9..195860144b 100644 --- a/src/osx/cocoa/radiobut.mm +++ b/src/osx/cocoa/radiobut.mm @@ -2,7 +2,7 @@ // Name: src/osx/cocoa/radiobut.mm // Purpose: wxRadioButton // Author: Stefan Csomor -// Modified by: JS Lair (99/11/15) adding the cyclic group notion for radiobox +// Modified by: // Created: ??/??/98 // RCS-ID: $Id: radiobut.cpp 54129 2008-06-11 19:30:52Z SC $ // Copyright: (c) AUTHOR @@ -17,13 +17,13 @@ #include "wx/osx/private.h" wxWidgetImplType* wxWidgetImpl::CreateRadioButton( wxWindowMac* wxpeer, - wxWindowMac* parent, - wxWindowID id, - const wxString& label, + wxWindowMac* WXUNUSED(parent), + wxWindowID WXUNUSED(id), + const wxString& WXUNUSED(label), const wxPoint& pos, const wxSize& size, - long style, - long extraStyle) + long WXUNUSED(style), + long WXUNUSED(extraStyle)) { NSRect r = wxOSXGetFrameForControl( wxpeer, pos , size ) ; wxNSButton* v = [[wxNSButton alloc] initWithFrame:r]; @@ -31,7 +31,6 @@ wxWidgetImplType* wxWidgetImpl::CreateRadioButton( wxWindowMac* wxpeer, [v setButtonType:NSRadioButton]; wxWidgetCocoaImpl* c = new wxWidgetCocoaImpl( wxpeer, v ); - [v setImplementation:c]; return c; }