#include "wx/wxprec.h"
+#if wxUSE_RADIOBTN
+
#include "wx/radiobut.h"
#if !USE_SHARED_LIBRARY
Rect bounds = wxMacGetBoundsForControl( this , pos , size ) ;
- m_peer = new wxMacControl() ;
+ m_peer = new wxMacControl(this) ;
verify_noerr ( CreateRadioButtonControl( MAC_WXHWND(parent->MacGetTopLevelWindowRef()) , &bounds , CFSTR("") ,
0 , false /* no autotoggle */ , m_peer->GetControlRefAddr() ) );
return(cycle);
}
}
+
+#endif