X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/4dd9fdf82749bb5f9e2bf9c2ad1bbd59e0eeb00e..0aeac464d13aff73b00c205fd2c3ab609a671012:/src/osx/cocoa/radiobut.mm?ds=sidebyside diff --git a/src/osx/cocoa/radiobut.mm b/src/osx/cocoa/radiobut.mm index 1ca43e6615..a64d2875e4 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 @@ -16,20 +16,20 @@ #include "wx/radiobut.h" #include "wx/osx/private.h" -wxWidgetImplType* wxWidgetImpl::CreateRadioButton( wxWindowMac* wxpeer, - wxWindowMac* parent, - wxWindowID id, - const wxString& label, - const wxPoint& pos, +wxWidgetImplType* wxWidgetImpl::CreateRadioButton( wxWindowMac* wxpeer, + 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]; - [v setButtonType:NSRadioButton]; - + [v setButtonType:NSRadioButton]; + wxWidgetCocoaImpl* c = new wxWidgetCocoaImpl( wxpeer, v ); return c; }