]> git.saurik.com Git - wxWidgets.git/blobdiff - src/mac/carbon/radiobut.cpp
wxRadioBox fixed on mac
[wxWidgets.git] / src / mac / carbon / radiobut.cpp
index aff004469bfd5ab440f824930cf0816763a80ecc..94aad1efaf75c1494d065b1b5230b3cb9c23e108 100644 (file)
@@ -96,6 +96,7 @@ void wxRadioButton::MacHandleControlClick( ControlHandle control , SInt16 contro
        SetValue(true) ;
     wxCommandEvent event(wxEVT_COMMAND_RADIOBUTTON_SELECTED, m_windowId );
     event.SetEventObject(this);
        SetValue(true) ;
     wxCommandEvent event(wxEVT_COMMAND_RADIOBUTTON_SELECTED, m_windowId );
     event.SetEventObject(this);
+    event.SetInt( GetValue() );
     ProcessCommand(event);
 }
 
     ProcessCommand(event);
 }