X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/7205570233ce8420b71fa5df368054c8953ff0e4..99890e74a7528a1db041262b4ea3c2c9e1f062cf:/src/mac/radiobut.cpp diff --git a/src/mac/radiobut.cpp b/src/mac/radiobut.cpp index 476cf9ef10..6421f60596 100644 --- a/src/mac/radiobut.cpp +++ b/src/mac/radiobut.cpp @@ -35,7 +35,7 @@ bool wxRadioButton::Create(wxWindow *parent, wxWindowID id, MacPreControlCreate( parent , id , label , pos , size ,style, validator , name , &bounds , title ) ; - m_macControl = ::NewControl( parent->GetMacRootWindow() , &bounds , title , false , 0 , 0 , 1, + m_macControl = ::NewControl( parent->MacGetRootWindow() , &bounds , title , false , 0 , 0 , 1, kControlRadioButtonProc , (long) this ) ; MacPostControlCreate() ; @@ -84,6 +84,7 @@ void wxRadioButton::SetValue(bool val) } } } + MacRedrawControl() ; } bool wxRadioButton::GetValue() const