X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/facd6764872eede45605ba7c9dfa0e1d0c708fa2..be5a51fb592f3fa2ba38ac6cd1e488d6d806058c:/src/mac/carbon/radiobox.cpp?ds=sidebyside diff --git a/src/mac/carbon/radiobox.cpp b/src/mac/carbon/radiobox.cpp index 83bd0a1f78..cf279d567b 100644 --- a/src/mac/carbon/radiobox.cpp +++ b/src/mac/carbon/radiobox.cpp @@ -137,8 +137,8 @@ bool wxRadioBox::Create(wxWindow *parent, wxWindowID id, const wxString& label, if ( bounds.bottom <= bounds.top ) bounds.bottom = bounds.top + 100 ; - m_macControl = (WXWidget) ::NewControl( MAC_WXHWND(parent->MacGetTopLevelWindowRef()) , &bounds , "\p" , true , 0 , 0 , 1, - kControlGroupBoxTextTitleProc , (long) this ) ; + verify_noerr(CreateGroupBoxControl(MAC_WXHWND(parent->MacGetTopLevelWindowRef()),&bounds, CFSTR("") , + true /*primary*/ , (ControlRef*)&m_macControl ) ) ; for (i = 0; i < n; i++) {