X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d8207702d1cf580a7200114abd52f186b4b9a4f3..60372b0d54379701d62edf5595a7dc25c48330e1:/src/osx/cocoa/radiobut.mm diff --git a/src/osx/cocoa/radiobut.mm b/src/osx/cocoa/radiobut.mm index 195860144b..c0cc382822 100644 --- a/src/osx/cocoa/radiobut.mm +++ b/src/osx/cocoa/radiobut.mm @@ -2,9 +2,9 @@ // Name: src/osx/cocoa/radiobut.mm // Purpose: wxRadioButton // Author: Stefan Csomor -// Modified by: +// Modified by: // Created: ??/??/98 -// RCS-ID: $Id: radiobut.cpp 54129 2008-06-11 19:30:52Z SC $ +// RCS-ID: $Id$ // Copyright: (c) AUTHOR // Licence: wxWindows licence ///////////////////////////////////////////////////////////////////////////// @@ -16,20 +16,20 @@ #include "wx/radiobut.h" #include "wx/osx/private.h" -wxWidgetImplType* wxWidgetImpl::CreateRadioButton( wxWindowMac* wxpeer, - wxWindowMac* WXUNUSED(parent), - wxWindowID WXUNUSED(id), +wxWidgetImplType* wxWidgetImpl::CreateRadioButton( wxWindowMac* wxpeer, + wxWindowMac* WXUNUSED(parent), + wxWindowID WXUNUSED(id), const wxString& WXUNUSED(label), - const wxPoint& pos, + const wxPoint& pos, const wxSize& size, - long WXUNUSED(style), - long WXUNUSED(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; }