X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/d8c736e563cbf50bc5825c1a52878403ee48f513..481fcc780da6b3ddbee3bd9f1eca5aafeef0a58b:/src/mac/radiobut.cpp diff --git a/src/mac/radiobut.cpp b/src/mac/radiobut.cpp index 8fd9b91adf..a0a8885b16 100644 --- a/src/mac/radiobut.cpp +++ b/src/mac/radiobut.cpp @@ -21,7 +21,7 @@ IMPLEMENT_DYNAMIC_CLASS(wxRadioButton, wxControl) #endif -#include +#include "wx/mac/uma.h" bool wxRadioButton::Create(wxWindow *parent, wxWindowID id, const wxString& label, @@ -35,7 +35,7 @@ bool wxRadioButton::Create(wxWindow *parent, wxWindowID id, MacPreControlCreate( parent , id , label , pos , size ,style, validator , name , &bounds , title ) ; - m_macControl = UMANewControl( parent->GetMacRootWindow() , &bounds , title , false , 0 , 0 , 1, + m_macControl = ::NewControl( parent->MacGetRootWindow() , &bounds , title , false , 0 , 0 , 1, kControlRadioButtonProc , (long) this ) ; MacPostControlCreate() ;