#include "wx/radiobut.h"
+#if !USE_SHARED_LIBRARY
IMPLEMENT_DYNAMIC_CLASS(wxRadioButton, wxControl)
+#endif
#include <wx/mac/uma.h>
::SetControlValue( m_macControl , val ) ;
- if (val) {
+ if (val)
+ {
cycle=this->NextInCycle();
if (cycle!=NULL) {
while (cycle!=this) {
void wxRadioButton::MacHandleControlClick( ControlHandle control , SInt16 controlpart )
{
SetValue(true) ;
+ wxCommandEvent event(wxEVT_COMMAND_RADIOBUTTON_SELECTED, m_windowId );
+ event.SetEventObject(this);
+ ProcessCommand(event);
}
wxRadioButton *wxRadioButton::AddInCycle(wxRadioButton *cycle)
return(cycle);
}
}
-